DSAT gate, CANCEL_TASK function
The CANCEL_TASK function of DSAT gate causes a specified task to be canceled. The task is cancelled when in a suitable suspend or when a deferred abend can be delivered to the task.
Input Parameters
- CANCEL_TYPE
- Specifies when the task can be canceled having regard to system integrity and data integrity.
- Values for the parameter are:
- FORCE_CANCEL
- KILL_CANCEL
- NORMAL_CANCEL
- DEFERRED_ABEND_CODE
- is the abend code to be used when the task is abended during deferred abend processing.
- TASK_TOKEN
- identifies the task whose priority is to be changed.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- CANCEL_INHIBITED
- INVALID_STATE
- INVALID_STATE_PURGE
- INVALID_TASK_TOKEN
- NOT_PURGEABLE
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.