INQUIRE ENQMODEL

Retrieve information about enqueue model definitions on the local system.

Read syntax diagramSkip visual syntax diagramINQUIRE ENQMODEL
 
                                 .-------------------------.
                                 V                         |
>>-INQUIRE ENQMODEL(data-value)----+---------------------+-+---><
                                   +-ENQSCOPE(data-area)-+
                                   +-ENQNAME(data-area)--+
                                   '-STATUS(cvda)--------'
 

Conditions: END, ILLOGIC, NOTAUTH, NOTFND

For more information about the use of CVDAs, see CICS-value data areas (CVDAs).

Description

The INQUIRE ENQMODEL command returns information about enqueue model definitions on the local system.

You can make an explicit INQUIRE for a given ENQMODEL, or use the browse form of the command. Browse returns all enqueue model definitions on the local system.

Browsing

To browse through all of the ENQ models in your local system, use the browse options (START, NEXT, and END) on INQUIRE ENQMODEL commands.

See Browsing resource definitions for general information about browsing, including syntax, exception conditions, and examples.

Options

ENQMODEL(data-value)
specifies the 8-character identifier of an enqueue model.
ENQSCOPE(data-area)
returns the 4-character name which qualifies sysplex-wide ENQUEUE requests issued by this CICS region. Four blanks indicate that the enqueue is LOCAL.
ENQNAME(data-area)
returns the 1 to 255-character resource name or generic name.

ENQ commands issued by this CICS region are checked against this resource or generic name. If a match is found, and ENQSCOPE was specified, the enqueue is sysplex-wide, qualified by the 4-character ENQSCOPE.

STATUS(cvda)
returns a CVDA value describing the current state of the ENQMODEL. CVDA values are:
ENABLED
matching enqueue requests are being processed in the normal way.
DISABLED
matching enqueue requests are being rejected, and the issuing tasks are abending with code ANQE. Matching INSTALL CREATE or DISCARD requests are being processed.
WAITING
Matching enqueue requests are being rejected, and the issuing tasks are abending with code ANQE. There are INSTALL CREATE or DISCARD requests waiting to be processed.

Conditions

END
RESP2 values:
2
There are no more resource definitions of this type.
ILLOGIC
RESP2 values:
1
You have issued a START command when a browse of this resource type is already in progress, or you have issued a NEXT or an END command when a browse of this resource type is not in progress.
NOTAUTH
RESP2 values:
100
The user associated with the issuing task is not authorized to use this command.
101
The user associated with the issuing task is not authorized to access this particular resource in the way required by this command.
NOTFND
RESP2 values:
1
The ENQMODEL cannot be found.
[[ Contents Previous Page | Next Page Index ]]