FCCU gate, PREPARE function
This function marks a unit of work as prepared to be committed. The PREPARE function is required to support 2-phase commit protocols and is ignored if the unit of work is already in a prepared or retained state.
Input Parameters
- TRANSACTION_NUMBER
- Optional Parameter
- This 4-character string identifies the requesting task in the debug trace if used.
- UOW_ID
- This 8-character string combines the subsystem name with the unit of work identification in the client region to form the fully qualified unit of work identifier.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- SERVER_CONNECTION_FAILED
- RECOVERY_NOT_ENABLED
- UOW_NOT_FOUND
- UOW_MADE_NO_CHANGES
- UOW_FAILED
- NO_SPACE_IN_POOL
- POOL_STATE_ERROR
- CF_ACCESS_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- Values for the parameter are:
- OK
- EXCEPTION
- DISASTER
- INVALID
- KERNERROR
- PURGED