RMUW gate, CREATE_UOW function
Create a unit of work object under the currently executing transaction.
Input Parameters
- CHOICE
- Optional Parameter
- Specifies whether the unit of work should commit or backout if requested to take a unilateral decision.
- Values for the parameter are:
- BACKWARD
- FORWARD
- HEURISM
- Optional Parameter
- Specifies whether the unit of work should take a unilateral decision if a failure occurs in the in doubt window.
- Values for the parameter are:
- NO
- YES
- INDOUBT_TIMEOUT_INTERVAL
- Optional Parameter
- The period of time that the unit of work should be prepared to wait in doubt.
- UOW_ID
- Optional Parameter
- The network UOWID to be given to the unit of work object. This parameter will be present if the unit of work being created is part of a distributed unit of work that originated on another system.
- USERID
- Optional Parameter
- The userid associated with the currently executing transaction.
Output Parameters
- REASON
- The values for the parameter are:
- BACKOUT_FAILURE
- BROWSE_END
- COMMIT_FAILURE
- HEURISTIC_BACKOUT
- HEURISTIC_COMMIT
- HEURISTIC_READONLY_BACKOUT
- HEURISTIC_READONLY_COMMIT
- INDOUBT_FAILURE
- INVALID_BROWSE_TOKEN
- LINKS_INVALID
- LOCAL_NO_MARKED
- LOCAL_NO_VOTE
- NOT_FOUND
- NOT_SHUNTED
- REMOTE_COMMIT_ABENDED
- REMOTE_NO_DECISION
- REMOTE_NO_VOTE
- RESYNCH_IN_PROGRESS
- ROLLBACK
- ROLLBACK_NOT_SUPPORTED
- UOW_NOT_INDOUBT
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.