Usage Note 19292: An error occurs when you use SAS/ACCESS® Interface to ODBC to access
SPSS
The following code works when you access SPSS with SAS/ACCESS Interface to ODBC 8.2. However, when you use this same code in SAS/ACCESS Interface to ODBC 9.1.3, you might receive the error message shown in this example:
proc sql noprint;
connect to ODBC as source (DSN=TEST);
create table test as
select *
from connection to source (
select *
from MyTable);
ERROR: CLI prepare error: [SPSS Inc.][SPSS ODBC Driver]Driver not capable
SQL statement: select * from MyTable.
disconnect from source;
quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
real time 1.03 seconds
cpu time 0.01 seconds
run;
|
The solution is to modify the CONNECT statement as follows:
proc sql noprint;
connect to odbc as source(dsn=Test USE_ODBC_CL=YES);
.......
|
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to ODBC | 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® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | |
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | |
| Microsoft Windows NT Workstation | 9.1 TS1M3 | |
| Microsoft Windows XP Professional | 9.1 TS1M3 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
| Microsoft Windows 2000 Server | 9.1 TS1M3 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
| Microsoft Windows 2000 Datacenter Server | 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: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> LIBNAME Engines Third Party ==> Information Exchange ==> ODBC (Open Database Connectivity)
|
| Date Modified: | 2008-05-05 09:50:54 |
| Date Created: | 2007-01-05 14:59:20 |