Summary -

In this topic, we described about the below sections -

Delete all transient data by deleting TDQ. DELETEQ TD deletes all the data associated with a particular intra-partition destination transient. All storage associated with the queue is released or deallocated. This command can't be used to delete an extra-partition transient data queue and the attempt results an INVREQ condition.

Syntax -

DELETEQ TD syntax

QUEUE (name) -

Specifies the symbolic name (1 - 4 characters) of the queue to be deleted. The queue must have been defined to CICS.

SYSID (system-name) -

Option is for remote and shared queues only. Specifies the system name (1 - 4 characters).

Error Conditions -

Below are the list of error conditions may occur in combination. If more than one occurs, only the first is passed to the application program.

Error ConditionRESP2, Description & SolutionSystem Action
16 INVREQ Occurs if deleting an extra-partition queue.
Solution: -This might occur when deleting a queue which is already gets deleted. Debug the program flow to correct it.
Task abnormally terminated
54 ISCINVREQ Occurs if remote system indicates a failure without a known condition.
Solution: -Contact remote system support team to resolve the issue.
Task abnormally terminated
70 NOTAUTH A resource security check has failed on QUEUE (name).
Solution: -Contact system administrator team to check whether the appropriate access added for the user or group. It will resolve the problem.
Task abnormally terminated
44 QIDERR Occurs when the queue specified cannot be found.
Solution: -This happens due to the Queue already might get deleted or queue name provided might wrong. Debug the application program flow and correct the logic.
Task abnormally terminated
53 SYSIDERR Occurs when the SYSID option specifies a name that is neither the local system nor a remote system.
Solution: -The specified SYSID name is not related to any system. Correct it to resolve the issue.
Task abnormally terminated
84 DISABLED Occurs when the queue disabled.
Solution: -Enable the queue in the CICS region. If you have no access, contact system administrator to enable the queue.
Task abnormally terminated