Translate tables are used to translate data between the
EBCDIC character set and the ASCII character set. EBCDIC is used
on IBM mainframe and iSeries systems for character formatting whereas
ASCII is used in the PC environment for character formation. When
a character arrives from the host it is translated from EBCDIC to
ASCII. When a character is sent to the host it is translated from
ASCII to EBCDIC.
Important: Translate table modifications must
only be made when problems occur running a host application.
To access the translate tables:
- From the Rocket TE menu bar, click .
- Click the 3270 Emulation tab.
The 3270 Emulation property sheet displays Translation, LU1
Print Options, LU3 Print Options and LU1
/ LU3 Print Options.
- In the Translation section, click Translate
Tables.
The Translate Tables menu displays
two tabs: EBCDIC to ASCII and ASCII
to EBCDIC.
- Select the desired translation table.
How the tables work
To demonstrate how the
tables work we will use the character 'A'. Please note that all ASCII
and EBCDIC values shown below are hexadecimal values.
In the
ASCII Code table the character 'A' is represented by the value '41'
(in hex). In the EBCDIC Code table the character 'A' is represented
by the value 'C1'.
- Starting on the ASCII to EBCDIC page, look at Column 4x Row x1
and you will see the character 'A'. Click the Edit button to switch
to the values mode and will see the EBCDIC value 'C1'. This is the
value that will be sent to the host when the 'A' key is pressed on
the keyboard.
- Now to verify that this is the correct value, let's follow the
same sequence in reverse. Look at the EBCDIC to BUFFER page and examine
the Column Cx Row x1, you should see the character 'A'. Click the
Edit button, to switch to the values mode and you will see the ASCII
value '41'. This is the value that will be sent from the host when
an 'A' is requested.
This explanation shows the standard sequence of events
when translating characters. This sequence looks the same in both
directions, only reversed. For example:
ASCII to EBCDIC
41 -> C1
EBCDIC to ASCII
C1 -> 41