Opens a communications session with the host.
BOOL | LceOpenSession | (int | iSession) |
iSession | The session identifier returned by LceGetSessionId. |
|---|
TRUE is returned if the session can be opened.
FALSE is returned if an error occurs.
LceOpenSession is used in conjunction with a number of LANSA Open "session definition" functions that set the session's options.
The time taken to open a session will depend upon many factors including the client and host system's hardware and software.
Tip: For consecutive file processing, set the fResume parameter to TRUE when calling LceEndSession. This keeps the communications session with the host system active. You can then use the same session identifier (for processing the other files) in LceOpenSession. You can also have more than one session open (via LceOpenSession) if you need to access more than one file concurrently when using the *RECEIVEIMMED option for selecting records. |
6.69 LceUseExceptionalArguments