CICS DELETE TDQ

CICS READ TDQ CICS LOAD Statement


Advertisements


Delete all transient data in the queue.

DELETEQ TD deletes all the transient data associated with a particular intra partition queue.

All storage associated with the destination is released/deallocated and ready for use.

Delete TD Queue command would be safe if the connection is IPIC.

Delete TD Queue command if the connection is other than IPIC.

For the above two cases, the command can be executed in local region or remote region.


Syntax:

EXEC CICS 

     DELETEQ TD QUEUE (name)
             SYSID (system-name)  
  
END-EXEC. 

If SYSID is provided during the definition, the queue is assumed to be on a remote system irrespective of how it is defined.


Note:

An extra-partition transient data queue can’t be deleted by using the DELETEQ TD. An attempt to do so results in an INVREQ condition.


QUEUE(name)

Specifies the symbolic name of the queue.

Name must be of length 1 - 4 alphanumeric characters.

The named queue must be defined to CICS region in DCT.


SYSID(system-name)

Used to provide remote systems information only.

Name must be of length 1 - 4 characters.


Error Conditions:


16 INVREQ

Occurs only if DELETEQ names an extra-partition queue.

Task will terminate abnormally.


44 QIDERR

Occurs if the no queue is associated with symbolic destination name used with DELETEQ TD.

Task will terminate abnormally.


53 SYSIDERR

This error can occur in two cases.

If any system is not associated with the system-name provided in DELETEQ TD.

If the link to the remote system is closed.

Task will terminate abnormally.


70 NOTAUTH

Occurs when a resource has not authorized to access the QUEUE(name).

Task will terminate abnormally.


84 DISABLED

Occurs when the queue has been disabled.

Task will terminate abnormally.


CICS READ TDQ CICS LOAD Statement

Advertisements