8.36 CP_UPDT (Create or modify user character conversion table)

8.36.1 Function

The CP_UPDT console command creates or modifies the contents of the user codepage tables. The
tables can be populated with a ‘CP_UPDT REFERENCE’ command which copies one of the provided
codepage tables to the user tables or by a ‘CP_UPDT IMPORT’ command which imports a previously
created and with ‘CP_UPDT EXPORT’ exported table.

Changes in the user tables are made through one or more ‘CP_UPDT ALTER’ commands. These allow
for up to 16 modifications at a time. The current contents of the user tables can be shown on the console
with ‘CP_UPDT DISPLAY’. Finally the changed user tables are activated with a ‘CODEPAGE USER’
command.

In all commands that require the selection of a user table (EBCDIC or ASCII), the EBCDIC table refers to
the ‘guest to host’ (g2h) translation and the ASCII table refers to the ‘host to guest’ (h2g) translation.

8.36.2 Syntax

Descriptive

CP command


where command

pos, [,pos, ]...)

filename

filename

codepage]

Diagram

Êʬ¬¬ CP command ¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ


where command







~¬¬¬¬¬¬ , ¬¬¬¬¬¬®
¬¬¬§¬¬¬ ¬¬¬§¬¬¬ (
¬¬¬ ¬¬¬ pos, ¬¬¬¬¬¬ )
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«









¬¬¬§¬¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«











¬¬¬§¬¬¬ ¬¬¬§¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«










¬¬¬§¬¬¬ ¬¬¬§¬¬¬ filename ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«








¬¬¬¬¬¬«



¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«





codepage

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

8.36.3 Parameter

ALTER

Alters the user EBCDIC or ASCII table value at hex position pos to hex value val.
Up to 16 pairs of hex digits may be specified within the parenthesis. ALTER can be
abbreviated as ‘ALT’.

DISPLAY

Displays the user EBCDIC or ASCII codepage table. DISPLAY can be abbreviated
as ‘DIS’ or ‘DSP’.

EXPORT

Exports the contents of the user EBCDIC or ASCII codepage table to file filename.
EXPORT can be abbreviated as ‘EXP’.

IMPORT

Imports the contents of file filename to the user EBCDIC or ASCII codepage table.
IMPORT can be abbreviated as ‘IMP’.

REFERENCE

Copies the specified codepage to the user EBCDIC and ASCII tables. If no code-
page is specified, a list of valid codepages is displayed on the console. ‘REFE-
RENCE’ can be abbreviated as ‘REF’.

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).

EBCDIC

The target for the command is the EBCDIC table. The EBCDIC table refers to the
‘guest to host’ translation. ‘EBCDIC’ can be abbreviated as ‘E’.

Previous Page Next Page