Hi
I need to extract data from 800 tables on Sybase 11 and import it into corresponding tables on DB2. I'd like to use the import utility with the PC/IXF file format to avoid having to create each tables manually on DB2. However, I do not know how to bcp the data out from Sybase so that the file is in the above format.
I have issued the command below but DB2 returned an error message that the file was not a valid PC/IXF file
From the cmd line
CALL cmd_bcp dname, dbo, tablename, filename.ixf, user, password, server (which creates the filename.ixf)
From DB2
db2 import from filename.ixf of IXF create into table_name
Thanks
I need to extract data from 800 tables on Sybase 11 and import it into corresponding tables on DB2. I'd like to use the import utility with the PC/IXF file format to avoid having to create each tables manually on DB2. However, I do not know how to bcp the data out from Sybase so that the file is in the above format.
I have issued the command below but DB2 returned an error message that the file was not a valid PC/IXF file
From the cmd line
CALL cmd_bcp dname, dbo, tablename, filename.ixf, user, password, server (which creates the filename.ixf)
From DB2
db2 import from filename.ixf of IXF create into table_name
Thanks