‘guest to host’ translation. ‘EBCDIC’ can be abbreviated as ‘E’.
RESET
Reset the internal user tables to binary zero.
TEST
Verify that user tables are transparent, i.e. the value at position n in g2h used as an
index into h2g will return a value equal n (g2h<=>h2g, h2g<=>g2h).
ASCII
The target for the command is the ASCII table. The ASCII table refers to the ‘host
to guest’ translation. ‘ASCII’ can be abbreviated as ‘A’.
G2H
This is the same as ‘EBCDIC’.
H2G
This is the same as ‘ASCII’.
pos
Specifies the hex position within the selected table.
val
Specifies the hex value for the selected position.
filename
Specifies the file name of the file to which the specified codepage has to be expor-
ted or from which the codepage table has to be imported.
codepage
Specifies the codepage that has to be copied to the user tables.
5.17.4 Examples
Example 1:
Copy the Hercules default codepage to the user tables, alter the ASCII user table and activate the user
tables.
CP_UPDT REFERENCE DEFAULT
CP_UPDT ALTER ASCII (5B,C0,5D,D0,7B,AD,7D,BD)
CODEPAGE USER