SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 6276: New special queries added for ODBC and DB2: SQLDataSources and SQLDBMSInfo

DetailsHotfixAboutRate It
Two new 'Special Queries' were added to SAS/ACCESS Interface to ODBC and
SAS/ACCESS Interface to DB2.
 
1. SQLDataSources: This will return a list of datasources
     For ODBC it returns:  Data_Source_Name (list of ODBC DSNs)
                           Description
     For DB2 it returns:   Database
                           Description
 
   For example:
      proc sql;
      connect to odbc(prompt);
      select * from connection to odbc(ODBC::SQLDataSources());
      quit;
 
  NOTE: For DB2, you call DB2::SQLDataSources
 
2. SQLDBMSInfo:  This will return 2 variables
        Server:  Information about the server, such as the server type
       Version:  Version of the server
 
   For example:
      proc sql;
      connect to odbc(prompt);
      select * from connection to odbc(ODBC::SQLDBMSInfo());
      quit;
 
   NOTE: For DB2, you call DB2::SQLDBMSInfo
 
We have patches that can be downloaded from:
 
V8.2 SAS/ACCESS to DB2:
A Technical Support hot fix for this problem is available at:

http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#82d204
 
V8.2 SAS/ACCESS to ODBC :
A Technical Support hot fix for this problem is available at:

http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#82od02


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to ODBCMicrosoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3
Microsoft Windows 2000 Advanced Server9.1 TS1M3
Microsoft Windows 2000 Datacenter Server9.1 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3
Microsoft Windows NT Workstation9.1 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3
Microsoft Windows 2000 Server9.1 TS1M3
Microsoft Windows 2000 Professional9.1 TS1M3
Microsoft Windows XP 64-bit Edition9.1 TS1M3
Microsoft® Windows® for x649.1 TS1M3
Microsoft Windows XP Professional9.1 TS1M3
Windows Vista9.1 TS1M3
Tru64 UNIX9.1 TS1M3
64-bit Enabled AIX9.1 TS1M3
64-bit Enabled HP-UX9.1 TS1M3
64-bit Enabled Solaris9.1 TS1M3
Linux9.1 TS1M3
Solaris for x649.1 TS1M3
HP-UX IPF9.1 TS1M3
* 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.