Start of change

$D POLICYLIB(xxxxxxxx) - Display concatenation for JES2 policy import

Function

To display POLICYLIB concatenations created by the $ADD POLICYLIB(xxxxxxxx) - Define a new concatenation for JES2 policy import command.

Syntax

Read syntax diagramSkip visual syntax diagram$DPOLICYLIB 'policylib'(,policylib'policylib'*-policylib-'policylib'-*) SLKDLK
Display limiting keywords (DLK)
Read syntax diagramSkip visual syntax diagram,CREATED,DDnn-mm*(,nn*-mm*)=( ,DSNamePATHFAILTXTUNITVOLser),DDNAME,DEBUG,USEcount
Selection limiting keywords (SLK)
Read syntax diagramSkip visual syntax diagram,/DDnn-mm*(,nn*-mm*),=( ,/DSName=¬=><dsname/PATH=¬=><pathname/UNIT=¬=><unit/VOLser=¬=><volser),DDNAME=¬=><ddname,USEcount=¬=><count

Parameters

(policylib)
Specifies the 1 – 8 character DD name of the POLICYLIB concatenation to be displayed. You can also specify wild cards on this parameter. See Using wildcards for more information.
CREATED
Displays the time the POLICYLIB concatenation was created.
DD(nnn)=
Can be used to select which POLICYLIB concatenation to display.
DDNAME
Displays the real DD name that is associated with this POLICYLIB concatenation.
DEBUG
Displays additional information about POLICYLIB concatenations including concatenation that have been logically deleted.
Note: Because DEBUG automatically triggers a "long" display, you cannot add more display-limiting keywords on the same command; however, you can add selection-limiting keywords.
DSName=dsname
Specifies a 1-44 character data set name which is in a POLICYLIB concatenation. You can also specify wild cards on this parameter. See Using wildcards for additional information.
PATH=pathname
Specifies a 1-88 character name of a file system directory which is in a POLICYLIB concatenation. You can also specify wild cards on this parameter. See Using wildcards for additional information.
UNIT=hhhh|/hhhh|nnnn|cccccccc
Specifies unit information for the POLICYLIB concatenations to be displayed. The data set must be specified in one of the following ways:
hhhh | /hhhh
specifies a 3 or 4 digit hexadecimal device number. Device numbers can be specified by any of the following formats:
  • UNIT=hhh
  • UNIT=/hhh
  • UNIT=/hhhh
where hhh and hhhh represent the device numbers. A slash (/) must precede a 4 digit device number.
nnnn
Specifies a device name.
cccccccc
Specifies a 1 to 8 character group name that is assigned to the device or group of devices.
USEcount
Displays the current use count for a POLICYLIB concatenation. A POLICYLIB is considered in use if a policy import command currently has the concatenation open.
VOLser=xxxxxx
Specifies a 1 to 6 character volume serial number for the POLICYLIBs to be displayed.

Authority Required

This command requires display 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 read security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide.

Scope

Single member. The response to this command will be a display of information about this member only.

You might want to use this command to get information about all members in the MAS. To do so, you can use the MVS ROUTE *ALL command to issue this command to all active members (if the JES2 command character is the same on all members). See z/OS MVS System Commands for more information on using the ROUTE *ALL command.

Messages

$HASP737 displays the current POLICYLIB concatenation.

$HASP003 RC=52 indicates that no POLICYLIBs exist matching the filters that are specified.

Examples

 1 
$dpolicylib                                                
$HASP737 POLICYLIB(PLCY01)     
$HASP737                      DD(1)=(DSNAME=SYS.PLCYSRC,
$HASP737                      VOLSER=J2VOL1)
$HASP737                      DD(2)=(DSNAME=TEST.PLCYSRC,
$HASP737                      VOLSER=J2VOL1)

Display all dynamic POLICYLIBs

 2 
$dpolicylib,debug                                          
$HASP737 POLICYLIB(PLCY00)       
$HASP737                    DELETED POLICYLIB,USECOUNT=1,           
$HASP737                    DDNAME=SYS00025,
$HASP737                    CREATED=2017.257,17:40:11.11,
$HASP737                    DD(1)=(DSNAME=SYS.PLCYSRC)
$HASP737 POLICYLIB(PLCY01)  
$HASP737                    USECOUNT=0,DDNAME=SYS00026,  
$HASP737                    CREATED=2017.257,18:00:01.17,
$HASP737                    DD(1)=(DSNAME=SYSADM.SRC,
$HASP737                    VOLSER=J2VOL1,RECFM=(F,B),LRECL=80,
$HASP737                    BLKSIZE=1600),
$HASP737                    DD(2)=(DSNAME=TEST.SRC,
$HASP737                    VOLSER=J2VOL2,RECFM=(F,B),LRECL=80,
$HASP737                    BLKSIZE=800)

Display debugging information for dynamic POLICYLIB concatenations

End of change