Quote:
|
Originally Posted by nnescafe
Thank you for you all reply.
My database is DB2 on OS/400 which created by RPG language.
Now I use the command FTP of OS/400 to connect the PC and transfer the database directly, is it need to prepare the file by converting the pack decimal data into character number before transfer?
Thanks
|
What I suggested is that you use the DB2 for Windows client to connect to the OS/400 database, and do an export from the DB2 Windows Command Line. This will convert all the EBCIDIC data to ASCII in a format that DB2 for Linux, UNIX, Windows can use and place the data in the export file.
If you intend to load the data to DB2 for Linux, UNIX, Windows then I would recommend doing the export with IXF format. If you need the data for some other purpose, then do a DEL format. Check the Command Reference for info on the EXPORT command (DB2 for Linux, UNIX, Windows).
You will need a DB2 Connect License in order to connect from DB2 Windows client to the OS/400 database.