For commands in a sysplex, you need to consider:
- Command scope in the sysplex. Some commands
only affect the system that they are processed on; other commands
may affect all of the systems in the sysplex regardless of which system
they are processed on. See z/OS MVS System Commands for
a discussion of which commands have a sysplex-wide scope and which
have a system scope. You can route commands with a system scope to
the system on which that you want them to be processed.
- Type of command routing. You can route commands
to one or more systems in the sysplex for processing.
You can route commands in the following ways:
- Using the CMDSYS keyword in CONSOLxx. CMDSYS allows
an operator to enter the command from the console and have the command
automatically routed to another system for processing. (See Using CMDSYS on the CONSOLE statement.) Thus, you can define your MCS
or SMCS consoles with CMDSYS in CONSOLxx to control command routing
in the sysplex. For extended MCS consoles, you can use RACF® or MCSOPER to define CMDSYS values. (See Table 1.) Operators can use CONTROL
V to control CMDSYS.
- Using the command prefix facility (CPF). CPF allows you to identify
a unique command prefix for each system or subsystem in the sysplex.
(See Using the command prefix facility.) CPF allows you to define
prefixes for commands so that the operator with
sufficient authority can enter the command from any console in
the sysplex and expect the command to run on the appropriate subsystem.
- Using the MVS™ ROUTE command.
ROUTE specifies another command to be routed to one or more target
systems for processing (see Using the ROUTE command for
details about ROUTE).
- Using the L= operand on certain MVS commands
like CONTROL or DISPLAY. L= allows the operator to specify a target
console name for a console on any system in the sysplex. (See Using the L=Operand on certain commands.) For example, the operator can enter
the CONTROL command with L= on one console to change the console characteristics
of another console on a different system.