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 IT24692 Status: Closed

LOAD COMMAND FAILS WHEN COLUMN NAME COMMENTS IS USED IN TARGET TABLE

product:
DB2 FOR LUW / DB2FORLUW / B10 - DB2
Problem description:
LOAD command fails when column name COMMENTS is used in target
table

db2sampl -xml -sql
db2 "DECLARE mycurs CURSOR FOR SELECT ID, NAME, JOB FROM staff"
db2diag -A
db2 "load from mycurs OF CURSOR insert into
t139790.COMMENT_TEST0(ID,STRING,COMMENTS) nonrecoverable"

$db2 "load from mycurs OF CURSOR insert into
t139790.COMMENT_TEST0(ID,STRING,COMMENTS) nonrecoverable"
SQL0104N  An unexpected token "COMMENTS" was found following
",".  Expected
tokens may include:  "".  SQLSTATE=42601
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* ALL                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 11.1 Mod 4 Fixpack 4 or higher                *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.04.2018
28.11.2018
28.11.2018
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)