6.55 LceSetCommitmentOn

Turns on commitment control on the host system.




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.


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 LANSA Application Design Guide and Using Commitment Control in the LANSA for i User Guide 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.

Related Functions

6.54 LceSetCommitmentOff

6.9 LceCommitWork

6.52 LceRollBackWork