Problem Note 69078: The error "…[DB2/LINUXX8664] SQL0204N 'user-ID.INDEXNAME' is an undefined name. SQLSTATE=42704" appears after you run the code generator
You use the Table Loader with the following properties in SAS® Data Integration Studio in order to append data to an existing DB2 table:

As shown, the Index Condition properties are meant to switch off the index before appending the data. However, when you run your code, you see an error similar to the following:
ERROR: CLI execute error: [IBM][CLI Driver][DB2/LINUXX8664] SQL0204N "user-ID.INDEXNAME" is an undefined name. SQLSTATE=42704
This message appears because the schema does not match a user’s default schema.
Use the following workarounds to avoid switching to user-written code:
- Use an alternate user ID that matches the schema name.
- Set the properties to retain the index while appending data, as shown here (this setting can have an impact on performance):

- Drop the table and re-create it before appending data (this setting requires that you have permission to create a table):

A hot fix is planned for that issue.
Operating System and Release Information
SAS System | SAS Data Integration Studio | Microsoft® Windows® for x64 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise 32-bit | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise x64 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8 Pro 32-bit | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8 Pro x64 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise 32-bit | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise x64 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro 32-bit | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro x64 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows 10 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2008 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2008 R2 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2008 for x64 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Datacenter | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Datacenter | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Std | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Std | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2016 | 4.904 | | 9.4 TS1M6 | |
Microsoft Windows Server 2019 | 4.904 | | 9.4 TS1M6 | |
Windows 7 Enterprise 32 bit | 4.904 | | 9.4 TS1M6 | |
Windows 7 Enterprise x64 | 4.904 | | 9.4 TS1M6 | |
Windows 7 Home Premium 32 bit | 4.904 | | 9.4 TS1M6 | |
Windows 7 Home Premium x64 | 4.904 | | 9.4 TS1M6 | |
Windows 7 Professional 32 bit | 4.904 | | 9.4 TS1M6 | |
Windows 7 Professional x64 | 4.904 | | 9.4 TS1M6 | |
Windows 7 Ultimate 32 bit | 4.904 | | 9.4 TS1M6 | |
Windows 7 Ultimate x64 | 4.904 | | 9.4 TS1M6 | |
*
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: | high |
Date Modified: | 2022-04-12 09:46:40 |
Date Created: | 2022-04-12 05:20:54 |