AMT Help Files
Home Development Command Translation CICS Commands DEQ

DEQ

COBOL Java
EXEC CICS DEQ ibmCics.deq

Syntax

ibmCics.deq(new DeqOptions.Builder()
  .resource(<Resource>)
  [.length(<Length>)]
  [.noHandle(true)]
  [.task(true)]
  .build());

Parameters

<Resource>
The resource to dequeue.
<Length>
Optional length of the resource.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
task
Optional Boolean. If set to true, the task option will be enabled.

Examples

COBOL Java
EXEC CICS
    DEQ 
        RESOURCE(RESOURCE-ID)
        LENGTH(4)
END-EXEC.
                
ibmCics.deq(new DeqOptions.Builder()
  .resource(locDef.resource_Id)
  .length(4)
  .build());
                

Contents

 Go to top