$POLICY ENABLE - Enable JES2 policy
Function
To change JES2 policy to an enabled state.
Syntax
Parameters
- NAME=plcyname
- Specifies the 1 to 16 character name of a JES2 policy to enable. 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 enabled. TYPE= parameter is optional. If it is not specified, the command enables 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 $HASP1613 message is issued for each policy that is enabled 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 enable,name=job*
$HASP1613 Policy JOB2 type JobConversion enabled.
$HASP1601 ENABLE policy JOB* request complete.
Command was issued to enable all policies with names starting with "JOB". One policy with the name JOB2 has been found and enabled.