HP-UX SNAplus2 R7 LUA Programmer's Guide
RUI Verbs
RUI_WRITE
• The lua_rh.fi bit (Format Indicator) was set to 1, but the first byte of the supplied RU was not a
recognized request code.
• The lua_rh.ruc parameter (RU category) specified the Network Control (NC) category; SNAplus2
does not allow applications to send requests in this category.
LUA_INVALID_PROCESS
The operating system process that issued this verb was not the same process that issued the RUI_INIT
or RUI_INIT_PRIMARY verb for this session. Only the process that started a session can issue verbs
on that session.
LUA_INVALID_SESSION_PARAMETERS
The application used RUI_WRITE to send a positive response to a BIND message received from the
host. However, the SNAplus2 node cannot accept the BIND parameters as specified, and has sent a
negative response to the host. For more information about the BIND profiles accepted by SNAplus2,
see Section 2.4, SNA Information.
LUA_RSP_CORRELATION_ERROR
When using RUI_WRITE to send a response, the lua_th.snf parameter (which indicates the sequence
number of the received message being responded to) did not contain a valid value.
LUA_RU_LENGTH_ERROR
The lua_data_length parameter contained a value that was not valid. When sending data on the LU
normal flow, the maximum length is as specified in the BIND received from the host; for all other flows
the maximum length is 256 bytes.
(any other value)
Any other secondary return code here is an SNA sense code indicating that the supplied SNA data was
not valid or could not be sent. For information about interpreting the SNA sense codes that can be
returned, see Section 2.4, SNA Information.
The following return codes indicate that the verb did not complete successfully for other reasons:
lua_prim_rc
LUA_COMM_SUBSYSTEM_ABENDED
A required SNAplus2 software component (such as the node) has terminated or has been stopped.
Contact your System Administrator if necessary.
lua_prim_rc
LUA_SESSION_FAILURE
The LUA session has failed.
If the session was started using RUI_INIT (not RUI_INIT_PRIMARY) and the secondary return code
is not
LUA_RUI_LOGIC_ERROR, then this LU can be reinitialized using an RUI_REINIT. If it is not
reinitialized, then an RUI_TERM must be issued before an RUI_INIT or RUI_INIT_PRIMARY can be
issued for the same LU.
lua_sec_rc
Possible values are:
LUA_LU_COMPONENT_DISCONNECTED
This return code indicates that the LUA session has failed because of a problem with the communications
link or with the host LU.
LUA_RUI_LOGIC_ERROR
This return code indicates one of the following:
• The host system has violated SNA protocols
103