AMT Help Files
Home Development Command Translation CICS Commands DELETEQ TS/TD

DELETEQ TS/TD

COBOL Java
EXEC CICS DELETEQ TS/TD ibmCics.deleteQ

Syntax

ibmCics.deleteQ(new DeleteQOptions.Builder()
  .queue(<Queuename>)
  [.deleteQtd(true)]
  [.sysId(<SysID>)]
  [.noHandle(true)]
  .build());

Parameter(s)

<Queuename>
The queue to be deleted.
DeleteQtd
Optional Boolean. Set to true to delete a transient data queue (TD) instead of a temporary storage (TS) queue. Default is false.
<SysID>
Optional system identifier.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.

Example(s)

COBOL Java
EXEC CICS
    DELETEQ TS
        QUEUE (WS-TSQUEUE)
        SYSID (WS-SYSID)
        NOHANDLE
END-EXEC.
                
ibmCics.deleteQ(new DeleteQOptions.Builder()
  .queue(locDef.ws_Tsqueue.toString())
  .sysId(locDef.ws_Sysid.toString())
  .noHandle(true)
  .build());
                
EXEC CICS
    DELETEQ TD
        QUEUE (WS-TDQUEUE)
        SYSID (WS-SYSID)
END-EXEC.
                
ibmCics.deleteQ(new DeleteQOptions.Builder()
  .queue(locDef.ws_Tdqueue.toString())
  .deleteQtd(true)
  .sysId(locDef.ws_Sysid.toString())
  .build());
                

Contents

 Go to top