DSAT gate, ATTACH function
The ATTACH function of the DSAT gate is used to attach a new task.
Input Parameters
- PRIORITY
- affects a task's dispatching precedence. It can have a value in the range 0 (low priority) through 255 (high priority).
- TYPE
- is the type of task.
- USER_TOKEN
- is the token by which the task to be attached is known to the caller.
- MODE
- Optional Parameter
- SPECIAL_TYPE
- Optional Parameter
- TASK_REPLY_GATE_INDEX
- Optional Parameter
- TIMEOUT
- Optional Parameter
- TRANSACTION_TOKEN
- Optional Parameter
- TRANSACTION_BUILD
- Optional Parameter
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
ABENDLOOPTRANSACTION_ABENDTRANSACTION_ERROR_MSGUSER_TASK_SLOT_UNAVAILABLE
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- TASK_TOKEN
- is the token by which the attached task is known to the dispatcher.