SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsHotfixAboutRate It

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

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to DB2Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.2 TS1M0
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.2 TS1M0
Microsoft® Windows® for x649.1 TS1M3 SP49.2 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.2 TS1M0
Microsoft Windows XP Professional9.1 TS1M3 SP49.2 TS1M0
Windows Vista9.1 TS1M3 SP49.2 TS1M0
64-bit Enabled AIX9.1 TS1M3 SP49.2 TS1M0
64-bit Enabled HP-UX9.1 TS1M3 SP49.2 TS1M0
64-bit Enabled Solaris9.1 TS1M3 SP49.2 TS1M0
HP-UX IPF9.1 TS1M3 SP49.2 TS1M0
Linux9.1 TS1M3 SP49.2 TS1M0
Linux on Itanium9.1 TS1M3 SP49.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.