OTCO gate, SET_COORDINATOR function
Associate a link with the current task's unit-of-work to represent a remote co-ordinator.
Input Parameters
- HOST_BLOCK
- Pointer to and length of a character string that represents the identity of the system, which contains the co-ordinator instance. Maximum supported length of this parameter is 4096 bytes.
- IOR_BLOCK
- Pointer to and length of a character string that represents the co-ordinator instance in the host system. Maximum supported length of this parameter is 4096 bytes.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- HOST_TOO_LONG
- IOR_TOO_LONG
- COORDINATOR_TOKEN
- A token representing the coordinator.
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.