Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC99920 Status: Geschlossen

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

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
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-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* When importing data to a table with TIMESTAMP column(s) in   * 
* V9.5 or earlier database.                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to v10.5 FP3.                                        * 
****************************************************************
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.
verfügbare FixPacks:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Lösung
The problem is firstly fixed on v10.5 FP3.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
07.03.2014
15.09.2014
15.09.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.4 FixList