The Enqueue (ENQ) panel allows authorized users to display active system enqueues. Enqueuing is the mechanism by which a program requests control of a serial reusable resource. The panel shows the major and minor names for the enqueuer, as well as the job name waiting for or holding the enqueue. Parameters on the ENQ command control which major and system names are shown. By default, only major SYSDSN enqueues on the local system are shown.

The ENQC command provides a convenient means of showing all enqueues with contention. That is, ENQC shows currently held enqueues that are required by another job.

The ENQD command provides a convenient means of showing all enqueues with major name SYSDSN and any minor name for all systems. You can specify an optional pattern on the ENQD command for the data set name (minor name for SYSDSN) to be processed. The default is userid, where userid is the user ID of the current user.

You have a special SDSF panel you can use:

ENQD – Highlighted – Find enq

Note that ENQD is at sysplex level.

The syntax of the ENQD command is as follows:

ENQD [data set name pattern]

where data set name pattern is optional and specifies the data set name to be processed. If omitted, the default is userid.* where userid is the userid of the current user.

where data set name pattern is optional and specifies the data set name to be processed. If omitted, the default is userid.* where userid is the userid of the current user.

Example:

Wild card dataset name
output of above command

Columns on the ENQ panel:

Column nameTitle (Displayed)WidthDescription
MINORMINOR52Minor name (RNAME). This is the fixed field. It is ignored if coded on an FLD statement or ISFFLD macro. Control characters are translated to periods.
MAJORMajor8Major name (QNAME). Control characters are translated to periods.
REQTYPEReq3Request type (SHR or EXC)
JOBNAMEJobName8Job name holding or requesting enqueue
ASIDASID4Job name ASID (decimal)
ASIDXASIDX6Job name ASID (hexadecimal)
LEVELLevel10Request level: ENQ-normal enqueuer, Reserve-hardware reserve, Global enq-hardware reserve converted to global enqueue
SMCSMC3Step must complete indicator
SCOPEScope8Enqueue scope (step, system, systems, global)
STATUSStatus6Resource status (own, wait)
OWNERSOwners6Number of resource owners for enqueuer
WAITERSWaiters7Number of tasks waiting for enqueue
WAITEXCWaitExc7Number of tasks waiting for exclusive use
WAITSHRWaitShr7Number of tasks waiting for shared use
UNITUnit4Device address for reserves
USERDATAUserData32User data passed on ISGENQ
REQTIMEReqTime19Date and time of request
ENQTOKENEnqToken64Enqueue token
RNAMELRNameLong127Longer version of minor name, up to 127 characters. Control characters are translated to periods.
SYSNAMESysName8System name
ISFEND.END4End of list marker. All columns that appear after this column will be hidden. Ignored if specified on the ISFFLD macro in ISFPARMS. The title and width cannot be changed using the FLDENT statement or through the ARRANGE command.
ENQD output columns

Leave a Reply

Your email address will not be published. Required fields are marked *