![]() | ![]() | ![]() | ![]() | ![]() |
When you submit certain SQL queries in either SAS/ACCESS® Interface to Oracle or SAS/ACCESS® Interface to DB2, you can receive the following errors:
Error that occurs in Oracle:
ERROR: ORACLE prepare error: ORA–00933: SQL command not properly ended. SQL statement: SELECT (the selection statement follows)
Error that occurs in DB2:
DB2: ERROR: CLI open cursor error: [IBM][CLI Driver][DB2] SQL0104N An unexpected token ")" was found
The error occurs when you use the MULTI_DATASRC_OPT=IN_CLAUSE option in the LIBNAME statement that points to your database, as shown in the following example for Oracle:
To circumvent the problem, remove the MULTI_DATASRC_OPT=IN_CLAUSE option if you encounter this problem.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | 64-bit Enabled AIX | 9.2 TS2M0 | |
Windows Vista for x64 | 9.2 TS2M0 | |||
Windows Vista | 9.2 TS2M0 | |||
Microsoft Windows XP Professional | 9.2 TS2M0 | |||
Microsoft Windows Server 2008 for x64 | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 for x64 | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | |||
Microsoft® Windows® for x64 | 9.2 TS2M0 | |||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | |||
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | |||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | |||
z/OS | 9.2 TS2M0 | |||
64-bit Enabled HP-UX | 9.2 TS2M0 | |||
64-bit Enabled Solaris | 9.2 TS2M0 | |||
HP-UX IPF | 9.2 TS2M0 | |||
Linux | 9.2 TS2M0 | |||
Linux for x64 | 9.2 TS2M0 | |||
OpenVMS on HP Integrity | 9.2 TS2M0 | |||
Solaris for x64 | 9.2 TS2M0 |