HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_SEND
While an existing SLI_SEND is pending, you can issue a second SLI_SEND only if it specifies a different session
flow from the pending SLI_SEND; that is, you cannot have more than one SLI_SEND outstanding for the same
session flow. You cannot have more than two SLI_SENDs outstanding in total.
The SLI_SEND verb can be issued on the SSCP normal flow at any time after a successful SLI_OPEN verb that
specifies primary-initiated session initiation with SSCP access. SLI_SEND verbs on other flows or for other session
initiation types are permitted only after a BIND has been received, and must abide by the protocols specified on
the BIND.
5.6.4 Usage and Restrictions
Table 5–1, SLI_SEND Parameter Settings based on Message Type shows the valid settings for various parameters
on SLI_SEND, depending on the type of SNA message being sent.
Table 5–1 SLI_SEND Parameter Settings based on Message Type
SLI_SEND
parameter
LU_DATA,
SSCP_DATA
RSP BID, BIS,
RTR
CHASE
QC
QEC,
RELQ,
SBL, SIG
RQR LUS-
TAT_LU,
LUS-
TAT_SSCP
lua_rh
FI, DR1I,
DR2I, RI,
BBI, EBI,
CDI, CSI,
EDI
RI SDI, QRI SDI, QRI,
EBI, CDI
SDI 0 SDI, QRI,
DR1I,
DR2I, RI,
BBI, EBI,
CDI
lua_th
0
SNF00000
lua_data_ptr
Required
(null if no
data)
Required
(null if no
data)
null null null null Required
lua_data_length
Required
Required (0
if no data)
0 0 0 0 Required
lua_flag1
flow flags
0 Required
(set one)
00000
When the application sends an SNA response, it must do the following. LUA will fill in the appropriate request
code based on the supplied sequence number.
• Set lua_message_type to LUA_MESSAGE_TYPE_RSP.
• Set lua_th.snf to the sequence number of the request to which this is a response.
• Set the appropriate lua_flag1 flow flag.
• For a positive response that requires only the request code, set both lua_rh.ri and lua_data_length to 0 (zero).
• For a negative response:
• Set lua_rh.ri to 1.
• Set lua_data_ptr to point to an appropriate SNA sense code.
• Set lua_data_length to 4 (the length of the sense code).
Successful completion of SLI_SEND indicates that the message was queued successfully to the data link; it does
not necessarily indicate that the message was sent successfully, or that the host accepted it.
Pacing may be used on the secondary-to-primary half-session (this is specified on the BIND), in order to prevent
the LUA application from sending more data than the SNAplus2 LU or the host LU can handle. If this is the case,
an SLI_SEND on the LU normal flow may be delayed by LUA and may take some time to complete.
144