3 2 2 Session Management

LANSA Open Guide

3.2.2 Session Management

Using the session characteristics defined by the functions described in the Session Definition section, your application will open a communications session with the host.

An application may have more than one session open with the host.

Open Session

LceGetSessionId

Obtains a valid session number.

LceOpenSession

Opens a communication session with the host.

 

Close Session

Once your application has completed, the communications session must be closed. All sessions opened on the host by your application should be closed by your application.

Failure to close a session will result in an unnecessary resource overhead on the host.

LceEndSession

Ends the specified session with the host.