6 54 LceSetCommitmentOff

LANSA Open Guide

6.54 LceSetCommitmentOff

Turns off commitment control on the host system.

BOOL

LceSetCommitmentOff

(int

iSession ) 

  

Parameters

iSession

The session identifier as returned by LceGetSessionId.

  

Return Values

TRUE is returned if commitment control is successfully turned off.

FALSE is returned if an error occurs.

Notes

Once this function has been executed, the LceCommitWork or LceRollBackWork cannot be used.

You must end this session before you can turn commitment control on again.

  • This function must be executed before the LceOpenSession function.
  • This function performs no communications to the host.

Related Functions

6.55 LceSetCommitmentOn

6.9 LceCommitWork

6.52 LceRollBackWork