6.55 LceSetCommitmentOn
Turns on commitment control on the host system.
LceSetCommitmentOn |
(int |
iSession ) |
Parameters
iSession |
The session identifier as returned by LceGetSessionId. |
Return Values
TRUE is returned if commitment control has been successfully turned on.
FALSE is returned if an error occurs.
Notes
Commitment control allows you to recreate events from a specific point which would otherwise be lost due to a system or application failure. Host commitment control only applies to files for which it has been specified. It is your responsibility to ensure that commitment control has been properly configured on the host. Refer to the appropriate IBM manuals and Commitment Control in the and Using Commitment Control in the for more details about commitment control and commitment control processing.
This function must be executed before you can use the LceCommitWork or LceRollBackWork functions.
You must end this session if you wish to switch commitment control off.
- This function must be executed before the LceOpenSession function.
- This function performs no communications to the host.
Related Functions