Problem solve Get help with specific problems with your technologies, process and projects.

Converting and transferring AS/400 packed decimal fields to ASCII systems

You can send a physical file with packed decimal fields to an ASCII system via iSeries Access or via the CPYTOIMPF command and then send the file with FTP.

I have a physical file in AS/400 that contains data like that: 'BB_¶__LOCLFRAM237'. I want to transfer the file to my PC and convert the packed characters to ASCII. Is there any way to do this?
There are two options:

You can use command CPYTOIMPF. This command convert database file to "flat file" (i.e it makes target file with...

packed represented as strings). The converted file can be sent to ASCII systems using FTP.

You can use file transfer utilities. One example is iSeries Access file transfer, this utility will translate AS/400 fields (including packed decimal fields) to ASCII systems with no problem.

Dig Deeper on iSeries Access (Client Access)