z/OS ISPF Reference Summary
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


QUERYENQ—query system ENQ data

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--QUERYENQ--TABLE(table-name)--QNAME(qname)----------->

>--RNAME(rname)--REQ(pattern)--WAIT--LIMIT(limit)--------------->

>--SAVE(list-id)--XSYS-----------------------------------------><

Call invocation format

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK--('QUERYENQ'--,table-name--,qname--,rname------>

>--,pattern--,-+----------+--,limit--,list-id------------------->
               '-'WAIT--'-'                     

>--,-+----------+-);-------------------------------------------><
     '-'XSYS--'-'      

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPEXEC--(buf-len,--buffer);--------------------------><

Variables returned in each row of the table

Table 1. Variables returned in each row of the table
Name Size Description
ZENJOB 8 Job or address space name holding or requesting the ENQ
ZENQNAME 8 Qname portion of the ENQ
ZENRNAME 255 Rname portion of the ENQ
ZENDISP 5 SHARE or EXCLU
ZENHOLD 4 OWN or WAIT
ZENSCOPE 7 SYSTEM or SYSTEMS
ZENSTEP 7 STEP or blank
ZENGLOBL 6 GLOBAL or blank
ZENSYST 8 System name

Return codes

 0
Table returned or data set written, but XSYS parameter was not specified and the system is running in STAR mode. The data returned may not reflect all ENQs on all systems.
 2
Table returned or data set written.
 4
Table returned but truncated due to limit.
 8
No ENQs satisfy the request.
10
No ENQs satisfy the request, but XSYS parameter was not specified and the system is running in STAR mode. The data returned may not reflect all ENQs on all systems.
12
Table creation error, parameter or other termination error. See messages for more detail. This includes services not available due to configuration table restrictions.
14
The SAVE data set is in use by another user.
20
Severe error, including TBADD error or data set creation errors.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014