Previous Topic: Custom Character Sets

Next Topic: Hexadecimal Numbers in Conversion Tables


Procedure

To create a custom character translation table

  1. Use an editor that can generate ASCII text to create and open a file. It is helpful to use a text editor that displays line numbers.
  2. Define each character on a separate line. Do not use comments.

Note: CA XCOM Data Transport performs the EBCDIC to ASCII translation in the following manner:

When an EBCDIC code 0 is received, CA XCOM Data Transport substitutes the ASCII value from the first line (line 1) of the table; for EBCDIC code 1, CA XCOM Data Transport takes the value from the second line (line 2), and so on. Because the first line is for code 0, it is necessary to add 1 to the line number when determining which line of the table to modify.

Example 1:

A question mark (?) needs to be sent to the mainframe in EBCDIC. Set up the translation table to translate it from ASCII to EBCDIC.

Example 2:

An A is received from the mainframe in EBCDIC. Set up the translation table to translate it to ASCII: