Problem Note 35971: An error occurs when you use SAS/ACCESS® Interface to ODBC to append data to a nonexistent DATAllegro table
When you try to append data to a DATAllegro table with SAS/ACCESS Interface to ODBC, an error occurs if the table does not already exist. This problem results from a short-coming in the DATAllegro ODBC driver. For example, suppose you assign an ODBC LIBNAME statement using a database source name that has has been created with the DATAllegro ODBC driver. If you subsequently run an APPEND procedure against this library to populate a Datallegro table that does not currently exist, the procedure fails with the following error:
ERROR: CLI prepare error: [DATAllegro][Data Warehouse Appliance
ODBC driver]encountered in
(DSA:generate valid sql statment) Message Code=DA37001N.
syntax error in dynamic SQL statement.
Details: Table xxxx does not exist, or is not owned by you.
This problem results from a shortcoming in the DATAllegro ODBC driver. The driver returns an incorrect value from an ODBC call and, as a result, the SAS® System is not aware that the table does not exist.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to ODBC | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |
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 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |
Windows Vista | 9.1 TS1M3 SP4 | |
*
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.
ERROR: CLI prepare error: [DATAllegro][Data Warehouse Appliance
ODBC driver]encountered in (DSA:generate valid sql statment) Message Code=DA37001N. syntax error in dynamic SQL statement.
Details: Table xxxx does not exist, or is not owned by you.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2009-05-28 11:17:07 |
Date Created: | 2009-05-19 14:52:02 |