In SAS/ACCESS Interface to DB2, when you assign a libref and use the QUALIFER= option in a LIBNAME statement along with a PROC SQL SELECT statement that contains the DISTINCT parameter, the specified qualifier is ignored.
The following code illustrates this behavior:
SASTRACE output shows that the QUALIFIER= option is ignored in the SQL that is ultimately passed to DB2, as shown here:
DB2_2: Prepared: 7 1184677962 du_prep 0 SQL select distinct sysibm.systables."NAME" from sysibm.SYSTABLES FOR READ ONLY
In the following example, a second PROC SQL query is made using the same libref and a SELECT statement without the DISTINCT option:
For this example, SASTRACE output shows that the QUALIFIER= option IS honored in the SQL code that is passed to DB2:
DB2_5: Prepared: 22 1184678010 du_prep 0 SQL SELECT "NAME" FROM sample.sysibm.SYSTABLES FOR READ ONLY 23 1184678010
Select the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS/ACCESS Interface to DB2 | z/OS | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
SAS System | SAS/ACCESS Interface to ODBC | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
SAS System | SAS/ACCESS Interface to Oracle | z/OS | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
SAS System | SAS/ACCESS Interface to MySQL | Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
SAS System | SAS/ACCESS Interface to Netezza | Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
SAS System | SAS/ACCESS Interface to OLE DB | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
SAS System | SAS/ACCESS Interface to Microsoft SQL Server | 64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#035182A fix for SAS 9.1.3 (9.1 TS1M3) with Asian Language Support (DBCS) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#035182Type: | Problem Note |
Priority: | medium |
Topic: | Data Management ==> Data Sources ==> External Databases ==> DB2 Data Management ==> Data Sources ==> External Databases ==> MS SQL Server Data Management ==> Data Sources ==> External Databases ==> MySQL Data Management ==> Data Sources ==> External Databases ==> OLEDB Data Management ==> Data Sources ==> External Databases ==> Oracle Data Management ==> Data Sources ==> External Databases ==> Oracle RDB |
Date Modified: | 2009-05-29 09:55:10 |
Date Created: | 2009-03-18 12:22:15 |