KEDS gate, END_TASK function
The END_TASK function of the KEDS gate is used to free any resources that have been acquired by the kernel domain during the lifetime of the current task and need freeing before the end of the task.
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.