DB2 - Problem description
Problem IC71533 | Status: Closed |
IMPORT WITH KEEPBLANKS OPTION MIGHT GENERATE A SQL3117W FOR NUMERIC COLUMN | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
If the IMPORT utility is invoked with the KEEPBLANKS modifier, and the first column in the data file is a numeric column (ie. smallint, int, bigint, float, real, decimal), and the data column value is padded with spaces before or after the numeric value, then Import will not parse the value as a numeric type but instead return a SQL3117W if the column is nullable, or reject the record if the column is not nullable. This problem only effects v95fp6, and v97fp2 and v97fp3. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * If the IMPORT utility is invoked with the * * KEEPBLANKSmodifier,and the first column in the data file is * * a numeric column(ie.smallint, int, bigint, float, real, * * decimal), and the datacolumn value is padded with spaces * * before or after thenumericvalue, then Import will not parse * * the value as a numerictypebut instead return a SQL3117W if * * the column is nullable, orreject the record if the column is * * not nullable.This problem only effects v95fp6, and v97fp2 * * and v97fp3. * **************************************************************** * RECOMMENDATION: * * Upgrade to v95fixpak7. Since Import resides in the * * DB2client-side libraries, upgrading client is sufficient. * **************************************************************** | |
Local Fix: | |
Remove space padding from around numeric column values in the data file. | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
Fixed in v95fp7 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC71535 IC71536 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 28.09.2010 12.10.2010 12.10.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FIXPAK7, 9.5.FP7 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.1.0.7 | |
9.5.0.7 |