Problem Note 44815: Dynamic prompt dependency filter using "CONTAINS" or "LIKE" operator returns incorrect values
A dynamic prompt dependency may return incorrect results if the "CONTAINS" or "LIKE" operator has been used in the dependency filter. Instead of returning all values for the dependent prompt variable that contain the specific string or are like the pattern of characters, the filter only returns those values that are equal to the dependency condition.
The problem is caused by trailing blanks that are added to the "CONTAINS" or "LIKE" string in the WHERE clause that is automatically executed in an SQL step behind the scenes to produce the dependent list of parameter values. For example, the following WHERE clause is incorrectly used to filter the dependent values:
WHERE ( ORIG_VAR CONTAINS "ABCDEFG " ) <===TRAILING BLANKS
The correct WHERE clause should be:
WHERE ( ORIG_VAR CONTAINS "ABCDEFG" ) <===NO TRAILING BLANKS
There is currently no circumvention for this problem.
Operating System and Release Information
SAS System | SAS Integration Technologies | z/OS | 9.2 TS2M0 | 9.3 TS1M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | |
Microsoft® Windows® for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 9.2 TS2M0 | |
Windows Vista | 9.2 TS2M0 | |
Windows Vista for x64 | 9.2 TS2M0 | |
64-bit Enabled AIX | 9.2 TS2M0 | 9.3 TS1M2 |
64-bit Enabled HP-UX | 9.2 TS2M0 | 9.3 TS1M2 |
64-bit Enabled Solaris | 9.2 TS2M0 | 9.3 TS1M2 |
HP-UX IPF | 9.2 TS2M0 | 9.3 TS1M2 |
Linux | 9.2 TS2M0 | 9.3 TS1M2 |
Linux for x64 | 9.2 TS2M0 | 9.3 TS1M2 |
OpenVMS on HP Integrity | 9.2 TS2M0 | 9.3 TS1M2 |
Solaris for x64 | 9.2 TS2M0 | 9.3 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Topic: | Query and Reporting
|
Date Modified: | 2011-11-09 14:21:56 |
Date Created: | 2011-11-07 15:19:48 |