6 9 2 C Example

LANSA Open Guide

6.9.2 C Example

BOOL fOK;

int  iSession;

 

iSession = LceGetSessionId

fOK = LceSetCommitmentOn(iSession);

fOK = LceOpenSession(iSession);

 

/* perform file updates */

fOK = LceCommitWork(iSession);