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.

8.36.4 Examples

Example 1:

Copy the Hercules default codepage to the user tables.

HHC00013I Herc command: 'cp_updt reference default'

HHC01478I Codepage 'default' copied to 'user'

Figure 73: CP_UPD command (copy codepage to user tables)

Example 2:

Display user ASCII table.

HHC00013I Herc command: 'cp_updt display ascii'

HHC01484I Codepage: Displaying user table ascii/h2g

HHC01485I Codepage: _0_1_2_3 _4_5_6_7 _8_9_A_B _C_D_E_F 0... 4... 8... C...

HHC01486I Codepage: 0_ 00010203 372D2E2F 1605250B 0C0D0E0F .... .... .... .... 0_

HHC01486I Codepage: 1_ 10111213 3C3D3226 18191A27 221D351F .... .... .... .... 1_

HHC01486I Codepage: 2_ 405A7F7B 5B6C507D 4D5D5C4E 6B604B61 !"# $%&' ()*+ ,-./ 2_

HHC01486I Codepage: 3_ F0F1F2F3 F4F5F6F7 F8F97A5E 4C7E6E6F 0123 4567 89:; <=>? 3_

HHC01486I Codepage: 4_ 7CC1C2C3 C4C5C6C7 C8C9D1D2 D3D4D5D6 @ABC DEFG HIJK LMNO 4_

HHC01486I Codepage: 5_ D7D8D9E2 E3E4E5E6 E7E8E9AD E0BD5F6D PQRS TUVW XYZ[ \]^_ 5_

HHC01486I Codepage: 6_ 79818283 84858687 88899192 93949596 `abc defg hijk lmno 6_

HHC01486I Codepage: 7_ 979899A2 A3A4A5A6 A7A8A9C0 6AD0A107 pqrs tuvw xyz{ |}~. 7_

HHC01486I Codepage: 8_ 68DC5142 43444748 52535457 56586367 .... .... .... .... 8_

HHC01486I Codepage: 9_ 719C9ECB CCCDDBDD DFECFCB0 B1B2B3B4 .... .... .... .... 9_

HHC01486I Codepage: A_ 4555CEDE 49690406 AB08BAB8 B7AA8A8B .... .... .... .... A_

HHC01486I Codepage: B_ 090A14BB 15B5B617 1BB91C1E BC20BEBF .... .... .... .... B_

HHC01486I Codepage: C_ 21232428 292A2B2C 3031CA33 343638CF .... .... .... .... C_

HHC01486I Codepage: D_ 393A3B3E 41464A4F 5962DA64 65667072 .... .... .... .... D_

HHC01486I Codepage: E_ 73E17475 76777880 8C8D8EEB 8FEDEEEF .... .... .... .... E_

HHC01486I Codepage: F_ 909A9B9D 9FA0ACAE AFFDFEFB 3FEAFAFF .... .... .... .... F_

Figure 74: CP_UPD command (display ASCII user table)

Example 3:

Export the ASCII user table to file ‘ascii.cp’.

HHC00013I Herc command: 'cp_updt export ascii d:\mvs\conf\ascii.cp'

HHC01490I Codepage: Exported user table ascii/h2g to file d:\mvs\conf\ascii.cp

Figure 75: CP_UPD command (export user table)

Example 4:

Import the ASCII user table from file ‘ascii.cp’.

HHC00013I Herc command: 'cp_updt import ascii d:\mvs\conf\ascii.cp'

HHC01490I Codepage: Imported user table ascii/h2g from file d:\mvs\conf\ascii.cp

Figure 76: CP_UPD command (import user table)

Previous Page Next Page