ENQMODEL definition attributes

Read syntax diagramSkip visual syntax diagram
>>-ENQMODEL(name)--GROUP(groupname)--+-------------------+------>
                                     '-DESCRIPTION(text)-'   

>--ENQNAME(resource)--+-----------------+----------------------->
                      '-ENQSCOPE(scope)-'   

   .-STATUS(ENABLED)--.   
>--+------------------+----------------------------------------><
   '-STATUS(DISABLED)-'   

DESCRIPTION(text)
You can provide a description of the resource you are defining in this field. The description text can be up to 58 characters in length. There are no restrictions on the characters that you can use. However, if you use parentheses, ensure that for each left parenthesis there is a matching right one. If you use the CREATE command, for each single apostrophe in the text, code two apostrophes.
ENQMODEL(name)
specifies the name of this ENQMODEL definition. The name can be up to eight characters in length.
Acceptable characters:
A-Z a-z 0-9 $ @ # . / - _ % & ¢ ? ! : | " = ¬ , ; < >
For information about entering mixed case information, see Entering mixed case attributes.

This name is used to identify the ENQMODEL definition on the CSD file. It is not used within the active CICS® system.

ENQNAME(resource)
specifies the 1 to 255-character resource name.
Acceptable characters:
A-Z a-z 0-9 $ @ # . / - _ % & ¢ ? ! : | " = ¬ , ; < >
For information about entering mixed case information, see Entering mixed case attributes.
You can also use a * (asterisk) as the last character, to denote a generic name.
ENQSCOPE(scope)
specifies the optional 4-character enqueue model scope name. If omitted or specified as blanks, matching enqueue models will have a local scope.
GROUP(groupname)
Every resource definition must have a GROUP name. The resource definition becomes a member of the group and is installed in the CICS system when the group is installed.
Acceptable characters:
A-Z 0-9 $ @ #
Any lower case characters you enter are converted to upper case.

The GROUP name can be up to eight characters in length. Lowercase characters are treated as uppercase characters. Do not use group names beginning with DFH, because these characters are reserved for use by CICS.

STATUS({ENABLED|DISABLED})
specifies whether the enqueue model is to be installed in ENABLED or DISABLED status. ENABLED is the default.
ENABLED
Matching enqueue requests are processed in the normal way.
DISABLED
Matching enqueue requests are rejected, and the issuing task is abended. Matching INSTALL CREATE and DISCARD requests are processed.