To create a custom character translation table
CA XCOM Data Transport for UNIX or Linux performs the EBCDIC to ASCII translation as follows:
Because the first line is for code 0, you need to add 1 to the line number when determining which line of the table to modify.
Example 1
A question mark (?) must be sent to the mainframe in EBCDIC. Set up the translation table to translate it from ASCII to EBCDIC.
The ASCII code for ? is 63 (decimal). The EBCDIC code for ? is 111 (decimal). Take the ASCII code and add 1. This is 64. Go to line 64 of the ATOE table and type the value 111.
Example 2
An A is received from the mainframe in EBCDIC. Set up the translation table to translate it to ASCII.
The EBCDIC code for A is 193 (decimal). The ASCII code for A is 65. Take the EBCDIC code for A and add 1. This is 194. Go to line 194 of the ETOA table and type the value 65.
| Copyright © [set copyright date variable] CA. All rights reserved. |
|