DB2 - Problem description
Problem IC81174 | Status: Closed |
IMPORT FROM A REMOTE CLIENT WHERE THE IMPORT FILE IS PROCESSED ON THE SAME CLIENT FAILS WHEN THE FILE HAS EMPTY STRINGS. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Import command from a remote client with the import file on the same client, fails to read the file if it has empty strings. If you use the same import file on the DB2 server directly, it completes successfully. For example, Import from a remote client, with the input file locally on C:\temp. import from C:\temp\staffexp.txt of DEL insert into db2v97.stff; SQL3196N The input file was not found. If you use the same file on the server: When the location of the file on the server(/home/db2v97) is given, it correctly imports the data; import from /home/db2v97/staffexp.txt of DEL insert into db2v97.stff; Total number of rows read : 35 Total number of rows skipped : 0 Total number of rows inserted : 35 Total number of rows updated : 0 Total number of rows rejected : 0 Total number of rows committed : 35 DB250000I: The command completed successfully. The reason for error is the blank value in the delimited data to be imported. 20,"Pernal",20,"Sales",,+78171.25,+00612.45 <- 5th column value is blank 10,"Sanders",20,"Mgr ",7,+98357.50,, <- last column value is blank | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All DB2 V9.7 users. * **************************************************************** * PROBLEM DESCRIPTION: * * Import command from a remote client with the import file on * * the same client fails to read the file if it has empty * * strings. If you use the same import file on the DB2 server * * directly, it completes successfully. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 FP6 * **************************************************************** | |
Local Fix: | |
Use input file on the DB2 server. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 V9.7 FP6 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC84445 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 02.02.2012 18.06.2012 18.06.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.6 |