Use the CODEPAGE parameter statement to specify ASCII-EBCDIC translation tables for linemode connections.
Telnet is initialized to use the ISO859-1 code page for ASCII and the IBM-1047 code page for EBCDIC.
CODEPAGE can be coded in TELNETGLOBALS, TELNETPARMS, or PARMSGROUP. See Rules for Telnet parameter statements and security parameters for more information about the hierarchy of parameter values. If there is an error in the syntax, a default code page of ISO8859-1 is used for ASCII and the language environment code page taken from locale information is used as the EBCDIC code page. If the EBCDIC code page is in error, a default code page of IBM-1047 is used for EBCDIC.
EBCDIC ASCII
x'0D25' -----> x'0D0085' using ISO8859-1/IBM-1047
x'0D25' -----> x'0D0A' using internal tables
x'15' <---- x'0A' using ISO8859-1/IBM-1047
x'25' <---- x'0A' using internal tables
>>-+---------------------------------+------------------------->< '-CODEPAGE--+-TNSTD-+--+-TNSTD--+-' '-ascii-' '-ebcdic-'