ENQ command
Schedules the use of a resource by a task. In Smalltalk, the parameters of the ENQ command are contained in two classes: CICSEnq and CICSEnqResult.
See CICS Application Programming Reference for the syntax of the command and a description of its parameters.
Defined instance methods
Parameters supplied to CICS in CICSEnq
 
Parameter
Instance method
Mode
Type
Notes/exceptions
LENGTH(data-value)
length:
Input
Binary 16
 
NOSUSPEND
nosuspend
Input
Switch
 
RESOURCE(data-area)
resource:
Input
Fixed(255)
 
Parameters returned by CICS in CICSEnqResult
 
Parameter
Instance method
Mode
Type
Notes/exceptions
RESP
resp
Output
Fixed(2)
Inherited from CICSResult.
RESP2
resp2
Output
Fixed(2)
Inherited from CICSResult.
Example
Enqueues with the NOSUSPEND option on the specified resource.
| result |
result := CICS enq
resource: 'RESOURCE1';
length: 9;
nosuspend;
exec.
Last modified date: 05/12/2020