Transferring files that contain packed decimal data between System i platforms

 

The transfer of packed decimal or zoned decimal data is supported between System i™ platforms. To complete such a transfer, you need to use either a transfer type of TYPE I (BINARY) or TYPE E (EBCDIC) with a transmission mode of BLOCK.

The BINARY transfer type and the EDCDIC transfer type send the data as is without any conversion. The results of any other transfer type are unpredictable.

When transferring packed or zoned data in an externally-described QSYS.LIB file, the target file should be pre-created in the same manner as the source file. This restriction applies to data containing any special numeric format or when keyed access is required.

When transferring data with a transfer type of binary, the record length of the target file must be the same as the record length of the source file.

Before packed decimal or zoned decimal data can be transferred to or from other system architectures (such as S/390® or UNIX®), convert the data to printable form.

 

Parent topic:

Data transfer methods