?? ?
2005-11-10 18:29:13 UTC
Our database server is DB2 8.1 on AIX 5.2. I have catalogued the database on my Windows XP workstation which is running a 8.1 client.
I have created a database with codepage set as 1208 (codset is UTF-8). What i'm trying to do is export data from our production system and populate that into our test system using the db2 export command:
EXPORT TO d:\table.ixf OF IXF MODIFIED BY codepage=1208 MESSAGES d:\export.messages SELECT * FROM SCHEMA.TABLE
Definition of SCHEMA.TABLE = (id integer, text varchar(255))
I now use the same file and try to import it into our test systems using the command:
IMPORT FROM d:\table.ixf OF IXF MODIFIED BY codepage=1208 MESSAGES d:\table.import INSERT INTO SCHEMA.TABLE;
The import works, however the data is corrupt. I see "->->->" where i should be seeing DBCS data. Any ideas what i'm doing wrong here?
I have created a database with codepage set as 1208 (codset is UTF-8). What i'm trying to do is export data from our production system and populate that into our test system using the db2 export command:
EXPORT TO d:\table.ixf OF IXF MODIFIED BY codepage=1208 MESSAGES d:\export.messages SELECT * FROM SCHEMA.TABLE
Definition of SCHEMA.TABLE = (id integer, text varchar(255))
I now use the same file and try to import it into our test systems using the command:
IMPORT FROM d:\table.ixf OF IXF MODIFIED BY codepage=1208 MESSAGES d:\table.import INSERT INTO SCHEMA.TABLE;
The import works, however the data is corrupt. I see "->->->" where i should be seeing DBCS data. Any ideas what i'm doing wrong here?