5 2 5 Opening the Host Session

LANSA Open Guide

5.2.5 Opening the Host Session

Opening the session connects the user to the host.

 

'open Session

iRet = LceOpenSession(iSession) 

'-----------------------------

If iRet = LceFalse Then

    MsgBox "Open Session failed"

    End

End If

Note: Normally, you only need to open one session. One example of when you may want more than one session is when you want to access other files while receiving records using a select with *RECEIVEIMMED mode.