Start of change

$POLICY ENABLE - Enable JES2 policy

Function

To change JES2 policy to an enabled state.

Syntax

Read syntax diagramSkip visual syntax diagram $POLICY ENABLE ,NAME=plcyname
Read syntax diagramSkip visual syntax diagram,TYPE=plcytype

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

MAS-wide. Enabling a policy affects all MAS members.
Note: The support to allow JES2 MAS scope for the JES2 policies and to provide persistent storage for the JES2 policies is available with the PTF for APAR OA58190.

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.

End of change