HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_RECEIVE
LUA_VERB_LENGTH_INVALID
The value of the lua_verb_length parameter was less than the length of the verb record required for
this verb.
State Check
The following return codes indicate that the verb was issued in a session state in which it was not valid:
lua_prim_rc
LUA_STATE_CHECK
lua_sec_rc
Possible values are:
LUA_NO_SLI_SESSION
An SLI_OPEN verb has not yet completed successfully for the LU name specified on this verb, or the
session has failed.
LUA_RECEIVE_ON_FLOW_PENDING
The flow flags in the lua_flag1 group specified one or more session flows for which an SLI_RECEIVE
verb was already outstanding. Only one SLI_RECEIVE at a time can be waiting on each session flow.
Negative Response Sent to Host
The following primary return code indicates that SNAplus2 detected an error in the data received from the host.
Instead of passing the received message to the application on an SLI_RECEIVE verb, SNAplus2 discards the
message and sends a negative response to the host. LUA informs the application on a subsequent SLI_RECEIVE
or SLI_BID verb that a negative response was sent.
lua_prim_rc
LUA_NEGATIVE_RSP
lua_sec_rc
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 val-
ues that can be returned, see Section 2.4, SNA Information.
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 5.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
134