HP-UX SNAplus2 R7 LUA Programmer's Guide

SLI Verbs
SLI_OPEN
An internal error was detected within LUA
Attempt to reproduce the problem with SNA tracing active (contact your System Administrator if
necessary), and check that the host is sending correct data. If this does not solve the problem, contact
your SNAplus2 support personnel.
lua_prim_rc
LUA_INVALID_VERB
Either the lua_verb parameter or the lua_opcode parameter was not valid. The verb did not execute.
lua_prim_rc
LUA_STACK_TOO_SMALL
The stack size of the application is too small for LUA to complete the request. Increase the stack size
of your application.
lua_prim_rc
LUA_UNEXPECTED_DOS_ERROR
An operating system error occurred.
lua_sec_rc
This value is the operating system return code. Check your operating system documentation for the meaning
of this return code.
5.3.4 Interaction with Other Verbs
The SLI_OPEN verb must be the rst LUA verb issued for the session.
Until this verb has completed successfully, the only other LUA verbs that can be issued for this session are:
SLI_CLOSE with lua_ag1.close_abend set to
1 (indicating an abnormal close), which will cancel the pending
SLI_OPEN
If lua_init_type was set to LUA_INIT_TYPE_PRIM_SSCP:
SLI_BID or SLI_RECEIVE to get the
INIT_COMPLETE status indication
SLI_SEND and SLI_RECEIVE for SSCP normal-ow data, to send INITSELF or LOGON messages and
receive their responses.
All other verbs issued on this session must identify the session using one of the following returned parameters from
this verb:
The session ID, returned to the application in the lua_sid parameter (and as the return value from the SLI entry
point)
The LU name, returned to the application in the lua_luname parameter
5.3.5 Usage and Restrictions
Once the SLI_OPEN verb has completed successfully, this session uses the LU for which the session was started.
No other LUA session (from this or any other application) can use the LU until the SLI_CLOSE verb is issued, or
until an
LUA_SESSION_FAILURE primary return code is received.
If the SLI_OPEN verb returns with an
LUA_IN_PROGRESS primary return code, the Session ID will be returned in
the lua_sid parameter. This Session ID is the same as that returned when the verb completes successfully, and can
be used to issue other verbs on the session.
124