HP-UX SNAplus2 R7 LUA Programmer's Guide
RUI Verbs
RUI_TERM
This return code indicates one of the following:
• The host system has violated SNA protocols
• 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.
WINDOWS
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.
lua_prim_rc
LUA_COMM_SUBSYSTEM_NOT_LOADED
The node was either not started or not configured properly for LUA applications. Check the SNAplus2
LUA configuration parameters and start the node before running your application.
4.7.3 Interaction with Other Verbs
This verb may be issued at any time after the RUI_INIT, RUI_INIT_PRIMARY, or RUI_REINIT verb has been
issued (whether or not it has completed).
If any other LUA verb is pending when RUI_TERM is issued, no further processing on the pending verb will take
place, and it will return with a primary return code of
LUA_CANCELLED.
After this verb has completed, no other LUA verb can be issued for this session.
UNIX
If the session was started using RUI_INIT_PRIMARY, SNAplus2 terminates the session by sending DACTLU to
the downstream LU. RUI_TERM does not wait for the DACTLU response before returning. The application can
reissue RUI_INIT_PRIMARY as soon as RUI_TERM has finished, to start a new session with the downstream LU;
however, SNAplus2 cannot process this RUI_INIT_PRIMARY until it has received the DACTLU response, and so
the RUI_INIT_PRIMARY may take some time to complete.
98