HP-UX SNAplus2 R7 LUA Programmer's Guide
RUI Verbs
RUI_READ
lua_prim_rc
LUA_NEGATIVE_RSP
lua_sec_rc
A nonzero secondary return code contains the sense code sent to the host on the negative response. This
indicates that SNAplus2 detected an error in the host data, and sent a negative response to the host. For
information about interpreting the sense code values that can be returned, see Section 2.4,
SNA Information.
A 0 (zero) secondary return code indicates that, following a previous RUI_WRITE of a negative response to
a message in the middle of a chain, SNAplus2 has now received and discarded all messages from this chain.
Other Conditions
The following return codes indicate that the verb record supplied was valid, but the verb did not complete
successfully:
lua_prim_rc
LUA_UNSUCCESSFUL
lua_sec_rc
Possible values are:
LUA_DATA_TRUNCATED
The lua_data_length parameter was smaller than the actual length of data received on the message. Only
lua_data_length bytes of data were returned to the verb; the remaining data was discarded. Additional
parameters are also returned if this secondary return code is obtained; see Section 4.5.2, Returned
Parameters.
LUA_NO_DATA
The lua_flag1.nowait parameter was set to indicate immediate return without waiting for data, and no
data was currently available on the specified session flow or flows.
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.
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.
89