EXEC CICS CANCEL requests
Recovery from CANCEL requests during transaction backout depends on whether the data is being passed to the started task and if the temporary storage queue used to pass the data is defined as recoverable.
During transaction backout of a failed task that has canceled a START request that has recoverable data associated with it, CICS® recovers both the temporary storage queue and the start request. Thus the effect of the recovery is as if the CANCEL command had never been issued.
If there is no data associated with the START command, or if the temporary storage queue is not recoverable, neither the canceled started task nor its data is recovered, and it stays canceled.