Use the MODIFY WLM command to change the state of a resource. This
command changes the resource state only on the system where you issue
the command.
Note: The MODIFY WLM command cannot be specified in the
COMMNDxx parmlib member.
Resource states are used by workload management in conjunction
with scheduling environments to ensure that work is scheduled only
on a system with the appropriate resources to handle that work. See z/OS MVS Planning: Workload Management for more information about resources and scheduling environments.
The complete syntax for the MODIFY WLM command is:
F WLM,[RESOURCE=resourcename,{ON|OFF|RESET}]
|
- WLM
- The name of the job.
- RESOURCE=resourcename
- Changes the state of resourcename.
- ON
- Specifies that if the required resource state in a scheduling
environment is ON, that requirement will be satisfied on the target
system.
- OFF
- Specifies that if the required resource state in a scheduling
environment is OFF, that requirement will be satisfied on the target
system.
- RESET
- Specifies that this resource setting will satisfy neither an
ON nor an OFF resource requirement. Therefore if a scheduling environment
includes resourcename in its list of resources (whether ON
or OFF), then that scheduling environment will not be available on
the target system.
Example:
To change the setting of the DB2A resource to ON, enter:
F WLM,RESOURCE=DB2A,ON
The system will respond:
IWM039I RESOURCE DB2A IS NOW IN THE ON STATE