SMSR gate, SWITCH_SUBSPACE function
The SWITCH_SUBSPACE function of the SMSR gate is used to change the subspace of a task.
Input Parameters
- SPACE
- The type of subspace you want this task to execute in.
- Values for the parameter are as follows:
- BASESPACE
- RESET_SPACE
- SUBSPACE
- ISOLATION_TOKEN
- Optional Parameter
- An isolation token that can be returned from an INQUIRE_ISOLATION_TOKEN call.
- TRANSACTION_TOKEN
- Optional Parameter
- A transaction manager token (which can be returned from an XMIQ INQUIRE_TRANSACTION_TOKEN call) that represents the task whose subspace you want to change.
- WORK_REGISTER
- Optional Parameter
- A work register.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOOP
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.