RMLN gate, SET_RECOVERY_STATUS function
This function is used to notify an Recovery Manager Link object of the outcome of a distributed unit of work which failed in the in doubt window. It results in the shunted unit of work the Recovery Manager Link object belongs to unshunting and committing or backing out its resource updates as appropriate.
Input Parameters
- DIRECTION
- Parameter specifying whether to commit (FORWARD), backout (BACKWARD) or obey the ACTION attribute in the definition of the originating transaction.
- Values for the parameter are:
- INBOUND
- OUTBOUND
- LINK_TOKEN
- A token identifying the Recovery Manager Link object.
- REMOTE_UOW_STATUS
- Optional Parameter
- The status of the unit of work in the remote system.
- Values for the parameter are:
- BACKWARD
- COLD
- FORWARD
- HEURISTIC_BACKWARD
- HEURISTIC_FORWARD
- HEURISTIC_MIXED
- INDOUBT
- RESET
- UNKNOWN
- TOLERATE_VIOLATIONS
- Optional Parameter
- A parameter specifying the rules to be used to detect resynchronization protocol violations.
- Values for the parameter are:
- NO
- YES
Output Parameters
- REASON
- The values for the parameter are:
- ALREADY_SET
- LINK_UNKNOWN
- RECOVERY_NOT_IN_PROGRESS
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- UOW_STATUS
- Optional Parameter
- The status of the unit of work.
- Values for the parameter are:
- BACKWARD
- FORWARD
- HEURISTIC_BACKWARD
- HEURISTIC_FORWARD
- INDOUBT