ASCII

The routine included in the system converts ASCII 7-bit code to and from EBCDIC.

All EBCDIC codes that convert to an ASCII code that cannot be contained in seven bits are represented by the substitute character X'1A'.

The following tables show the relationship of EBCDIC code to ASCII 8-bit code.

Note: This conversion is not necessarily reversible. The ASCII characters that cannot be converted are changed to EBCDIC substitute characters (X'3F'). The EBCDIC characters that cannot be converted are changed to ASCII substitute characters (X'1A').