Translate tables are used to translate data between the
EBCDIC character set and the ASCII character set. EBCDIC is used
on mainframe 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.
Note: 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 /5250 Emulation tab.
The 3270/5250 Emulation property sheet displays the Translation,
Default Screen Model Type, Keyboard Type Ahead and Write to Display
options.
- In the Translation section, click Translate
Tables.
- From the Translate Tables menu,
select the desired translation table:
- Ebcdic to Ascii
- Ascii to Ebcdic
- IND$FILE Ebcdic to Ascii
- IND$FILE Ascii to Ebcdic
How the tables work
To demonstrate how the
tables work, the character 'A' is used in this example. Please note
that all ASCII and EBCDIC values shown below are hexadecimal values.
Note: The
IND$FILE Translate Tables work exactly the same way as the character
translate tables. The following example can be applied to either
set of tables.
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 see the character 'A'. Click Edit to
switch to the values mode and see the EBCDIC value 'C1'. This is
the value that is 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 Edit to
switch to the values mode and you see the ASCII value '41'. This
is the value that is 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