home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC99917 Status: Closed

IMPORT MIGHT HIT SQL0304N ERROR AND REJECT ROWS CONTAINING TIMESTAMP DATA
IF TIMESTAMPFORMAT IS SPECIFIED FOR ASC/DEL FILE

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
With V9.7 client, when importing data to a table with TIMESTAMP 
column(s) in V9.5 or earlier database, if the timestampformat 
file type modifier is specified for ASC/DEL file, IMPORT might 
hit SQL0304N error when attempting to import rows containing 
TIMESTAMP data, and then reject the rows. 
 
You can see the following messages when the issue occurs: 
 
SQL3148W  A row from the input file was not inserted into the 
table.  SQLCODE "-304" was returned. 
 
SQL0304N  A value cannot be assigned to a host variable because 
the value is not within the range of the host variable's data 
type.  SQLSTATE=22003
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* The users are importing data to a table with TIMESTAMP       * 
* column(s) in V9.5 or earlier database with v97 client.       * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to v10.1 fp4.                                        * 
****************************************************************
Local Fix:
Try to remove the timestampformat file type modifier from the 
IMPORT command and import again when TIMESTAMP data is well 
formatted in the ASC/DEL file.
available fix packs:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
The problem is firstly fixed on v10.1 fp4.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.03.2014
02.06.2014
02.06.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.4 FixList