$POLICY DISABLE - Disable JES2 policy
Function
To change JES2 policy to a disabled state. This command does not remove policy from JES2 configuration, but JES2 does not use this policy until it is enabled by the $POLICY ENABLE - Enable JES2 policy command.
Syntax
Parameters
- NAME=plcyname
- Specifies the 1 to 16 character name of a JES2 policy to disable. You can also specify wild cards on this parameter. See Using wildcards for more information.
- TYPE=plcytype
- Specifies the 1 to 16 character type of the JES2 policy to be disabled. TYPE= parameter is optional. If it is not specified, the command disables policy based only on its name.
Authority Required
This command requires system authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS™ system command group is assigned.
This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.
Scope
Messages
The command is executed asynchronously. If command parameters are entered correctly, the $HASP1600 message acknowledges that the command was accepted for execution. The $HASP1623 message is issued for each policy that is disabled by the command. The $HASP1615 message is issued if there were no policies found matching the command. The $HASP1601 message is issued when command processing completes.
Examples
1
$policy disable,name=job*
$HASP1623 Policy JOB2 type JobConversion disabled.
$HASP1601 DISABLE policy JOB* request complete.
Command was issued to disable all policies with names starting with "JOB". One policy with the name JOB2 has been found and disabled.