Problem Note 33902: Incorrect error messages are generated for errors that result when you try to insert rows into DB2 and you use the BULKLOAD=YES option
An error can occur when you try to insert rows (that are in a different order than they appear in the SAS data set and DB2 table) into DB2. If you are using the BULKLOAD=YES option, it will not generate any errors. Instead a message appears saying that the rows were loaded. However, if you look at the table, you will see that the rows were not inserted in the table. No errors or warnings appear in the bl_log or bl_exception logs, either. This lack of error propagation can be misleading.
To work around this issue, do one of the following:
- Remove the BULKLOAD=YES option.
- Reorder the variables so they are in the same order as in the SAS data set and the DB2 table.
The insertion should work fine after you use one of these workarounds.
Another issue can also occur. The following artificial error message for CLILOAD might be issued when you insert fewer columns than exist in the target table that has DB2 IDENTITY columns:
unable to initialize bulkloader
To work around this issue, insert the same number of columns as there are in the table.
Select the Hot Fix tab in this note to access the hot fix for this issue.
ATTENTION: This hot fix is intended for UNIX and Windows customers running the DB2 Client 8.1 Fix Pack 9 or later. Customers running earlier versions of the DB2 Client should only install hot fixes prior to E9D205.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to DB2 | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft® Windows® for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 |
*
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: | 2009-07-13 09:22:16 |
Date Created: | 2008-11-12 12:51:35 |