Start of change

$POLICY DISPLAY - Display JES2 policy

Function

To display the JES2 policies.

Syntax

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

Parameters

NAME=plcyname
Specifies the 1 to 16 character name of a JES2 policy to display. You can also specify wild cards on this parameter. See Using wildcards for more information. If this keyword is omitted, all policy names are displayed.
TYPE=plcytype
Specifies the 1 to 16 character type of the JES2 policy to display. TYPE= parameter is optional. If it is not specified, the command displays 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. Entering this command on any member of a MAS displays the same information.
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

Message HASP1655 is issued for every policy that matches the specified keywords to display policy name, policy type, and policy state. Message shows "Yes" if policy is enabled, "No" otherwise. The $HASP1615 message is issued if there were no policies found matching the command.

Examples

 1 
$policy display                                
$HASP1655 Policy name      Policy type      Enb
$HASP1655 -------------------------------------
$HASP1655 JOB2             JobConversion    Yes

Command was issued to display all policies of type JobConversion with names starting with "JOB". One policy with the name JOB2 has been found and displayed.

End of change