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.