Enqueue panel (ENQ)
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.
Command keyword
By default, accessing the ENQ panel shows all enqueues with major name SYSDSN for the local system. As of V2R4, locally-held enqueues are shown even when the job is running on a remote system.
You can also access the ENQ panel from the DA and AS panels using the N action character. When ENQ is accessed in this way, all enqueues used by the selected address space are shown.
Customize the display with parameters
The parameters shown in Table 1 allow you to customize the ENQ display. ENQC displays all enqueues with contention. ENQC does not accept any parameters.ENQ major-name system-name
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.Parameter | Description |
---|---|
major-name | The enqueue major name to process including * (any string of characters) or % (any single character). The default is SYSDSN. |
system-name | The MVS system name, up to 8 characters including * (any string of characters) or % (any single character). The default is the local system name. |
ENQ command action characters
The action characters for the ENQ command are shown in Table 2.Action Character | Description |
---|---|
// | Block repeat; type // on the first row and another // on the last row to be processed. |
= | Repeat previous action character or overtype. |
+(n) | Expand the NP column; n is 3-5. (Use RESET to reset.) |
%(exec) | Run a REXX exec. (ISPF only) |
/ | Show column values for row (ISPF only). |
D | Display enqueues. |
Columns on the ENQ panel
The columns on the ENQ panel are shown in Table 3.Column name | Title (Displayed) | Width | Description |
---|---|---|---|
MINOR | MINOR | 52 | Minor 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. |
MAJOR | Major | 8 | Major name (QNAME). Control characters are translated to periods. |
REQTYPE | Req | 3 | Request type (SHR or EXC) |
JOBNAME | JobName | 8 | Job name holding or requesting enqueue |
ASID | ASID | 4 | Job name ASID (decimal) |
ASIDX | ASIDX | 6 | Job name ASID (hexadecimal) |
LEVEL | Level | 10 | Request level: ENQ-normal enqueuer, Reserve-hardware reserve, Global enq-hardware reserve converted to global enqueue |
SMC | SMC | 3 | Step must complete indicator |
SCOPE | Scope | 8 | Enqueue scope (step, system, systems, global) |
STATUS | Status | 6 | Resource status (own, wait) |
OWNERS | Owners | 6 | Number of resource owners for enqueuer |
WAITERS | Waiters | 7 | Number of tasks waiting for enqueue |
WAITEXC | WaitExc | 7 | Number of tasks waiting for exclusive use |
WAITSHR | WaitShr | 7 | Number of tasks waiting for shared use |
UNIT | Unit | 4 | Device address for reserves |
USERDATA | UserData | 32 | User data passed on ISGENQ |
REQTIME | ReqTime | 19 | Date and time of request |
ENQTOKEN | EnqToken | 64 | Enqueue token |
RNAMEL | RNameLong | 127 | Longer version of minor name, up to 127 characters. Control characters are translated to periods. |
SYSNAME | SysName | 8 | System name |
ISFEND | .END | 4 | End 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. |