Problem Note 6276: New special queries added for ODBC and DB2: SQLDataSources and SQLDBMSInfo
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
SAS System | SAS/ACCESS Interface to ODBC | Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 | |
Microsoft Windows NT Workstation | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | |
Microsoft® Windows® for x64 | 9.1 TS1M3 | |
Microsoft Windows XP Professional | 9.1 TS1M3 | |
Windows Vista | 9.1 TS1M3 | |
Tru64 UNIX | 9.1 TS1M3 | |
64-bit Enabled AIX | 9.1 TS1M3 | |
64-bit Enabled HP-UX | 9.1 TS1M3 | |
64-bit Enabled Solaris | 9.1 TS1M3 | |
Linux | 9.1 TS1M3 | |
Solaris for x64 | 9.1 TS1M3 | |
HP-UX IPF | 9.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.
Type: | Problem Note |
Priority: | low |
Date Modified: | 2008-02-19 13:22:29 |
Date Created: | 2001-11-14 00:00:00 |