This field-level keyword prevents code points you have redefined (using the DFNCHR keyword) from being interpreted as SCS printer control commands when your program sends an output operation that prints the field you are defining.
This keyword has no parameters.
If you do not specify the TRNSPY keyword for a field in which your program passes hexadecimal data to an SCS printer, code points can be interpreted as SCS commands that affect printer operation. A code point is one of the 256 values you can assign a character in a character set. On the AS/400 system, a code point is identified by a 2-digit hexadecimal number.
You must specify the TRNSPY keyword when you specify:
In a file created with DEVTYPE(*IPDS), you need not specify the TRNSPY keyword with the CVTDTA keyword. However, a warning message appears stating that the DEVTYPE should not be changed to *SCS.
If you specify TRNSPY in a file created with DEVTYPE(*AFPDS), a warning message appears at create time.
The TRNSPY keyword is valid only when the data type is character.
When you specify the TRNSPY keyword with the CVTDTA keyword, your program can place character data in the field and the OS/400 program converts it to hexadecimal data when the field is passed to the printer. Each pair of hexadecimal digits corresponds to a code point in the character set of your AS/400 system. Using the DFNCHR keyword, you can define characters of your own design for the 5224 Printer or 5225 Printer. See the DFNCHR keyword description. Also, the printed length of the field is one half the length you specify. Therefore, the length of the field must be an even number.
If you specify the TRNSPY keyword without the CVTDTA keyword, the field length you specify is the printed length.
This keyword is supported only for the 5224 Printer and 5225 Printer.
Option indicators are not valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.