5.17 CP_UPDT (User character conversion table)

5.17.1 Function

The CP_UPDT system parameter creates or modifies the contents of the user codepage tables. The
tables can be populated with a ‘CP_UPDT REFERENCE’ statement which copies one of the provided
codepage tables to the user tables or by a ‘CP_UPDT IMPORT’ statement 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’ statements. These allow
for up to 16 modifications at a time. The current contents of the user tables can be displayed on the con-
sole (and written to the log file) with ‘CP_UPDT DISPLAY’. Finally the changed user tables are activated
with a ‘CODEPAGE USER’ statement.

In all CP_UPDT statements 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.

5.17.2 Syntax

Descriptive

CP command



where command


pos, [,pos, ]...)

filename

filename

codepage]

Diagram

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


where command








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









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











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










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










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





codepage

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

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

5.17.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’.

EBCDIC

The target for the command is the EBCDIC table. The EBCDIC table refers to the

Previous Page Next Page