Command Scope

The VARY WLM,APPLENV=applenvname command has a sysplex scope and so affects all servers of an application environment on all the systems in the sysplex. For subsystems that can have multiple instances, all the subsystem instances are affected.

If you need to stop application environment activity on just one system in a sysplex, use the subsystem-specific interface to stop the activity on that system.

The VARY WLM,APPLENV command is processed on the coordinator system, which is determined dynamically and may not be the local system where the command was issued. The command output is routed to the console from which the command has been issued, but the command hardcopy is logged on the system on which the command has been processed. Therefore, the message may not appear in the SYSLOG on the system where the command was entered.

The VARY WLM,DYNAPPL=applenvname has a single system scope and affects only servers of an application environment on the system where the command is issued or to where it is routed.

You can enter the VARY WLM,APPLENV=applenvname command on any system in the sysplex. In this case, the installation is responsible for starting and terminating servers. For example, if VARY WLM,APPLENV=applenvname,QUIESCE is issued, the application environment enters the quiescing state on all systems in the sysplex.

Note that workload management starts servers only if a JCL procedure has been defined in the service definition for the application environment. This is known as “automatic” control for the application environment. If a JCL procedure is not defined, the application environment is under “manual” control, and the installation is responsible for starting the servers.

Table 1 summarizes how the QUIESCE, RESUME, and REFRESH options of the VARY WLM,APPLENV command are acted on by systems:
Table 1. Actions for VARY WLM,APPLENV
Operation Automatic Control: JCL Procedure Defined to WLM Manual Control: No JCL Procedure Defined to WLM
QUIESCE WLM stops the server address spaces. WLM stops the server address spaces.
RESUME WLM starts the server address spaces. Operator must start the server address spaces.
REFRESH WLM stops the server address spaces, and starts new ones. WLM stops the server address spaces. The operator must start new ones.