Remove a transient data queue definition.
The DISCARD TDQUEUE command removes the definition of a transient data queue from the local CICS system.
A queue must be disabled before it can be discarded, and an extrapartition queue must be closed as well. See Discarding resource definitions for rules governing disabling of queues. Queues required by CICS (those whose names begin with the letter C) cannot be discarded.
When an intrapartition queue is discarded, an implicit DELETEQ command is executed to empty the queue and release space in the data set associated with it. If the queue is defined as logically recoverable, an implicit SYNCPOINT command follows the DELETEQ. The SYNCPOINT commits all changes to recoverable resources made up to that point in the task that issued the DISCARD TDQUEUE command. However, deletion and syncpoint take place only if the command completes successfully, without raising any exception conditions.
See Discarding resource definitions for general information about discards.