Assigns a non-display or display character to a string variable.
ENCODE src_code_string_lit INTO dst_txt_var
String of characters to encode and place in dst_txt_var.
ENCODE can define nondisplay characters or escape sequences sent to an output device. These characters or sequences can perform complex output device manipulations. ENCODE also displays characters not in the keyboard. If your keyboard does not have the Euro symbol, use the Encode feature to create a string variable for it.
The encode characters can be included in a report at the appropriate location using PRINT or PRINT-DIRECT.
Only values <001> to <255> can be defined in ENCODE.
The chr function described in Table 52, Miscellaneous Functions under LET
PRINT and PRINT-DIRECT
“Encode Variables” in Volume 1 of the Production Reporting User's Guide