ENQ - List form

Use the list form of ENQ to construct a control program parameter list. You can specify any number of resources on ENQ, therefore, the number of qname, rname, and scope combinations in the list form of the ENQ macro must be equal to the maximum number of qname, rname, and scope combinations in any execute form of the macro that refers to that list form.

Syntax

The list form of the ENQ macro is written as follows:

Syntax Description
   
   name name: symbol. Begin name in column 1.
   
One or more blanks must precede ENQ.
   
ENQ  
   
One or more blanks must follow ENQ.
   
(  
   
   qname addr qname addr: A-type address or register (2) - (12).
   
   ,  
   
   ,rname addr rname addr: A-type address or register (2) - (12).
   
   , Default: E
   ,E  
   ,S  
   ,  
   
   ,rname length rname length: symbol or decimal digit.
  Default: assembled length of rname
   
   , Default: STEP
   ,STEP  
   ,SYSTEM  
   ,SYSTEMS  
   
)  
   
   ,RET=CHNG Default: RET=NONE
   ,RET=HAVE  
   ,RET=TEST  
   ,RET=USE  
   ,RET=NONE  
   
   ,SMC=NONE Default: SMC=NONE
   ,SMC=STEP  
   
   ,ECB=ecb addr ecb addr: A-type address.
   
   ,TCB=0 Note: ECB cannot be specified with RET.

Note: TCB or ECB must be specified on the list form if it is used on the execute form. ECB and TCB can be specified together. If you specify TCB without ECB, specify RET=CHNG, TEST or USE.

   ,MASID=0 Note: MTCB is required with MASID. Do not specify SMC or TCB with MASID.
   
   ,MTCB=0 Note: MASID is required with MTCB.
   
   ,RNL=YES Default: RNL=YES
   ,RNL=NO  
   
   ,RELATED=value value: any valid macro keyword specification.
   
,MF=L  
   

Parameters

The parameters are explained under the standard form of the ENQ macro, with the following exception:

,MF=L
Specifies the list form of the ENQ macro.

The list form of this macro generates a prefix followed by the parameter list, however the label specified in MF=L does not include an offset prefix area. If MASID, MTCB, TCB, or ECB is specified, these labels are offset; allowance must be made for the parameter list prefix.