If you specify CMDSYS or use CPF to route commands, consider the
following:
- When the operator enters the command from the console, sysplex
services can route the command to the system specified by CMDSYS or
CPF.
- The system that issues the command and the system that receives
the command can process the command as follows:
- Hardcopy log processing on both systems can record the command.
- The command processing exit or exits of both systems get control.
- Hardcopy log processing on both systems can record the command
if exit processing modified the command.
- If any installation exit processed the command, no further command
processing occurs.
- The subsystems on both systems receive the command.
- The command processor for the command on each subsystem can process
the command. If the subsystem processes the command, no further command
processing occurs.
- The MVS command
processor on the system that receives the command processes it.
- If the command contains system symbols, the system that receives
the command (not the system on which the command was entered)
substitutes text for the system symbols.
For example, suppose
your installation defines the command prefix S02 to system SYS2 and
you enter the following command on system SYS1:
S02 START CICS,JOBNAME=CICS&SYSNAME.,...
First,
system SYS1 sends the command to system SYS2. Then SYS2 substitutes
the text that it has defined to the &SYSNAME system symbol:
START CICS,JOBNAME=CICSSYS2,...
- If a command that is specified in the COMMNDxx parmlib member
contains system symbols, the system does not substitute text for the
system symbols during parmlib processing. The system that receives
the command substitutes text for the system symbols when it processes
the command.
Unlike message installation exits, command installation exits receive
control on both the system that issues the command and the system
that is the target of the command.
As with messages, NetView® on
any system can receive the routed command. To coordinate command activity
for automated operations, you must consider the scope of the command
flow in a sysplex.