Displaying MVS device allocation group locks information

Use the DISPLAY ALLOC,GRPLOCKS command to display information about the current Device Allocation group locks that are being held. The operator can specify one of the four different options:
D ALLOC,GRPLOCKS
 
D ALLOC,GRPLOCKS
      { ,ALL }
      { ,CONTENTION | C }
      { ,DEVICE | D = d }
      { ,JOBNAME | J = j }

  [,L={a|name|name-a}]
     

The parameters are:

ALL
Indicates that in all groups in which Device Allocation group locks are either being held or waited on, the group number, the device(s), the jobname(s), the asid(s), and the status of the job(s) are to be displayed.
CONTENTION or C
Indicates that in all groups that are in Device Allocation group lock contention (groups that have both owners and waiters on their group locks), the group number, the device(s), the jobname(s), the asid(s), and the status of the job(s) are to be displayed.
DEVICE or D = d
Indicates that for all groups that are either holding or waiting on Device Allocation group locks for a particular named device, the group number, the device(s), the jobname(s), the asid(s), and the status of the job(s) are to be displayed.
JOBNAME or J = j
Indicates that for all groups in which Device Allocation group locks are either held or waited on by the specified job, the group number, the device(s), the jobname(s), the asid(s), and the status of the job(s) are to be displayed.
L=a, name, or name-a
Specifies the display area (a), console name (name), or both (name-a) where the display is to appear.

If you omit this operand, the display is presented in the first available display area or the message area of the console through which you enter the command.

Note: For the output of the DISPLAY ALLOC,GRPLOCKS command, see the description of message IEFA001I in z/OS MVS System Messages, Vol 8 (IEF-IGD).