
Signature
Knut Stolze
DB2 Information Integration Development
IBM Germany
Hi,
Thanks for your prompt reply. Finally I managed to solve this problem
and noticed the following differences in DB2 "import" syntax between
version 7 and version 8.
In DB2 version 7:
1) There is no double quote (") between the path specified.
2) There must be a slash (\) after you specify the LOB path.
3) There are two double quotes("") for DATAFORMAT
For example:
Import script in Version 8:
DB2 IMPORT FROM "D:\TestData\import.out" OF DEL LOBS FROM "D:\TestData"
MODIFIED BY COLDEL"|" DATEFORMAT=\"DD/MM/YYYY\" LOBSINFILE METHOD P
(1,2,3,4,5,6,7) messages "D:\TestData\import.msg" INSERT INTO
TEST.TABLEQ ( QGNGID, QGNID, QVERSEQ, QPAGE, QIMG, QDATE, QTIME )
and the workable script in version 7 should be:
DB2 IMPORT FROM D:\TestData\import.out OF DEL LOBS FROM D:\TestData\
MODIFIED BY COLDEL"|" DATEFORMAT="\"DD/MM/YYYY\"" LOBSINFILE METHOD P
(1,2,3,4,5,6,7) messages D:\TestData\import.msg INSERT INTO
TEST.TABLEQ ( QGNGID, QGNID, QVERSEQ, QPAGE, QIMG, QDATE, QTIME )
Best regards,
TAN
> > Greetings,
> > I am facing the following error when trying to use DB2 import
[quoted text clipped - 13 lines]
> DB2 Information Integration Development
> IBM Germany