Example 6:

Reset the internal user tables to binary zero.

HHC00013I Herc command: 'cp_updt reset'

HHC01479I Codepage 'user' is deleted

HHC00013I Herc command: 'cp_updt display ascii'

HHC01484I Codepage: Displaying user table ascii/h2g, table is invalid

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_ 00000000 00000000 00000000 00000000 .... .... .... .... 0_

HHC01486I Codepage: 1_ 00000000 00000000 00000000 00000000 .... .... .... .... 1_

HHC01486I Codepage: 2_ 00000000 00000000 00000000 00000000 .... .... .... .... 2_

HHC01486I Codepage: 3_ 00000000 00000000 00000000 00000000 .... .... .... .... 3_

HHC01486I Codepage: 4_ 00000000 00000000 00000000 00000000 .... .... .... .... 4_

HHC01486I Codepage: 5_ 00000000 00000000 00000000 00000000 .... .... .... .... 5_

HHC01486I Codepage: 6_ 00000000 00000000 00000000 00000000 .... .... .... .... 6_

HHC01486I Codepage: 7_ 00000000 00000000 00000000 00000000 .... .... .... .... 7_

HHC01486I Codepage: 8_ 00000000 00000000 00000000 00000000 .... .... .... .... 8_

HHC01486I Codepage: 9_ 00000000 00000000 00000000 00000000 .... .... .... .... 9_

HHC01486I Codepage: A_ 00000000 00000000 00000000 00000000 .... .... .... .... A_

HHC01486I Codepage: B_ 00000000 00000000 00000000 00000000 .... .... .... .... B_

HHC01486I Codepage: C_ 00000000 00000000 00000000 00000000 .... .... .... .... C_

HHC01486I Codepage: D_ 00000000 00000000 00000000 00000000 .... .... .... .... D_

HHC01486I Codepage: E_ 00000000 00000000 00000000 00000000 .... .... .... .... E_

HHC01486I Codepage: F_ 00000000 00000000 00000000 00000000 .... .... .... .... F_

Figure 78: CP_UPD command (reset user codepage tables)

Example 7:

Test the internal user tables.

HHC00013I Herc command: 'cp_updt test'

HHC01487I Codepage: Testing user table ebcdic/g2h vs. ascii/h2g

HHC01491I Codepage: g2h pos[15] = 0A; h2g pos[0A] = 25

HHC01491I Codepage: g2h pos[AD] = 5B; h2g pos[5B] = C0

HHC01491I Codepage: g2h pos[BD] = 5D; h2g pos[5D] = D0

HHC01491I Codepage: g2h pos[C0] = 7B; h2g pos[7B] = AD

HHC01491I Codepage: g2h pos[D0] = 7D; h2g pos[7D] = BD

HHC01487I Codepage: Testing user table ascii/h2g vs. ebcdic/g2h

HHC01492I Codepage: h2g pos[5B] = C0; g2h pos[C0] = 7B

HHC01492I Codepage: h2g pos[5D] = D0; g2h pos[D0] = 7D

HHC01492I Codepage: h2g pos[7B] = AD; g2h pos[AD] = 5B

HHC01492I Codepage: h2g pos[7D] = BD; g2h pos[BD] = 5D

HHC01492I Codepage: h2g pos[B4] = 15; g2h pos[15] = 0A

Figure 79: CP_UPD command (test user codepage tables)

8.37 CPU (Define target CPU f
or console displays and commands)

8.37.1 Function

The CPU command sets the target CPU for console displays and commands in a Hercules multi-CPU
environment. If the Hercules configuration file sets a single CPU environment, then no CPU command is
necessary. If the NUMCPU system parameter in the Hercules configuration file is set greater than one
and no CPU command is given, then always the first CPU (CPU 0) is the target for console displays and
commands.

If a CPU address is given through the CPU command then this specifies the CPU to which all subsequent
panel commands will apply to. If an optional command follows the CPU address, the command will exe-
cute on this CPU and the target CPU will not be permanently changed.

For example entering command “CPU 0F” followed by command “GPR” will change the target CPU for
panel displays and commands and then display the general purpose registers for CPU #15 whereas the
command “CPU 0F GPR” will execute the GPR command on CPU #15, but will not change the target
CPU for subsequent panel displays and commands.

Please note that the command “CPU 1
CPU 2
does no change the target to CPU 2 as the last command
(CPU 2) is issued under the temporary CPU 1 environment.

8.37.2 Syntax

Descriptive

CPU hh [cmd]

Diagram

Êʬ¬¬ CPU ¬¬¬ hh ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ







cmd

8.37.3 Parameter

hh

The hexadecimal CPU address of the CPU in the multiprocessor configuration
which you wish all console commands to apply to. For example, entering “CPU 0F”
followed by a subsequent command “GPR” in a multi- CPU configuration will dis-
play the general purpose registers for CPU #15 in the configuration, as opposed to
CPU #0. The CPU address is then permanently set to CPU #15, as long as no
other CPU command is given.

cmd

This is the Hercules command that will execute on CPU hh. In this case the CPU
address applies only for this command and is not permanently set to CPU hh.

Previous Page Next Page