INQUIRE ENQ

Retrieve information about enqueues held or waited on by a UOW, or about UOWs holding or waiting on a specified enqueue. INQUIRE ENQ is a synonym for INQUIRE UOWENQ; see INQUIRE UOWENQ for a full description.

Syntax

Warning: System commands are powerful as they provide information about the state of the system and allow changes to be made to it. System commands should be used only by authorized applications and users.

Activate security checks on commands by specifying the XCMD system initialization parameter and by ensuring that command security checking is active for the transaction (either by specifying CMDSEC(YES) on the TRANSACTION resource definition or by specifying ALWAYS on the CMDSEC system initialization parameter).

INQUIRE ENQ

Read syntax diagramSkip visual syntax diagramINQUIRE ENQENQSCOPE( data-value)RESOURCE( data-value)RESLEN( data-value)UOW( data-value)DURATION( data-area)ENQFAILS( data-area)NETUOWID( data-area)QUALIFIER( data-area)QUALLEN( data-area)RELATION( cvda)RESLEN( data-area)RESOURCE( data-area)STATE( cvda)TASKID( data-area)TRANSID( data-area)TYPE( cvda)UOW( data-area)

Conditions: END, ILLOGIC, NOTAUTH, UOWNOTFOUND

NOHANDLE, RESP, and RESP2 are common options that can be added to all EXEC CICS commands to process error conditions. They are not explicitly included in the command syntax diagram and option descriptions. For information about these common options and EXEC CICS command syntax, see EXEC CICS command format and programming considerations. For more information about the use of CVDAs, see CICS-value data areas (CVDAs).

This command is threadsafe.