KEDS gate, SEND_DEFERRED_ABEND function
The SEND_DEFERRED_ABEND function of the KEDS gate is used by the transaction manager to implement the deferred purge function. If a purge request is made against a task that is not in a suitable state to be purged, this function defers the abend of that task until the task is no longer protected against purge.
Input Parameters
- ERROR_CODE
- The abend code that CICS issues when the task is eventually purged.
- DS_TASK_TOKEN
- Optional Parameter
- is the 31-bit dispatcher token that identifies the CICS task to be abended. If not supplied, DS_TASK_TOKEN defaults to the current task.
- FORCE
- Optional Parameter
- indicates whether or not the deferred abend is to be forced.
- Values for the parameter are:
- NO
- YES
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- INQUIRE_ERROR
- INVALID_FUNCTION
- LOOP
- VECTOR_FULL
- The following values are returned when RESPONSE is EXCEPTION:
- ADD_KTCB_ERROR
- ADD_TASK_ERROR
- ATTACH_KTCB_ERROR
- CANNOT_ACCESS_TCB
- DEFERRED_ABEND_NOT_SENT
- INVALID_CALLING_MODE
- NOT_FOUND
- TCB_NOT_WAITING
- TERMINATE_FAILED
- The following values are returned when RESPONSE is INVALID:
- INVALID_INPUT_COMB
- INVALID_TASK_TOKEN
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.