Copy operation of spooled DBCS files

 

You can copy spooled files that have double-byte data by using the Copy Spooled File (CPYSPLF) command. However, the database file to which the file is being copied must have been created with the IGCDTA(*YES) value specified. When copying spooled files to a database file that contains double-byte data, an extra column is reserved for the shift-out character. This shift-out character is placed between the control information for the record and the user data. The following table shows the shift-out character column number, based on the value specified for the Control Character (CTLCHAR) keyword:

CTLCHAR Value Column for Shift-Out Character
*NONE 1
*FCFC 2
*PRTCTL 5
*S36FMT 10

 

Parent topic:

Copy operation of DBCS files