6.9 LceCommitWork

Commits the current transaction if LceSetCommitmentOn has been set.




iSession )




The session identifier as returned by LceGetSessionId.

Return Values

TRUE is returned if the session can perform the function.

FALSE is returned if an error occurs.


This function is used to set a commit point for a transaction or set of transactions on the host.

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 host database 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.

Related Functions

6.54 LceSetCommitmentOff

6.55 LceSetCommitmentOn

6.52 LceRollBackWork