HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_LU_0_TO_3
If you are not using the LU for 3270 emulation or RJE, it is not necessary to specify an explicit LU type; set
this parameter to
AP_UNKNOWN.
If the host system supports DDDLU (Dynamic Denition of Dependent LUs), and this parameter is set
to any value other than AP_UNKNOWN, SNAplus2 will dene the LU dynamically at the host when the
communications link to the host is established. If the host does not support DDDLU, or if this parameter is
set to AP_UNKNOWN, the LU must be included in the host conguration.
def_data.sscp_id
Species the ID of the SSCP permitted to activate this LU. Set this parameter to 0 (zero) if the LU can be
activated by any SSCP. If the LU is to be activated only by a specic SSCP, set the rst four bytes of this
parameter to 0x05000000 and the last two bytes to the SSCP ID that identies the SSCP that is permitted
to activate the LU.
def_data.timeout
Timeout for the LU specied in seconds. If the timeout is set to a nonzero value and the user of the LU
supports session inactivity timeouts, then the LU is deactivated after the PLU-SLU session is left inactive for
the specied period and one of the following conditions exist:
The session passes over a limited resource link.
Another application requests to use the LU before the session is used again.
If the timeout is set to 0 (zero), the LU is not deactivated.
Support for session inactivity timeouts depends on the application that is using the LU (such as a 3270
emulation program). If the LU is being used by PU concentration, session inactivity timeouts are supported
only if
allow_timeout is specied on the DEFINE_DOWNSTREAM_LU verb.
def_data.term_method
This parameter species how SNAplus2 should attempt to end a PLU-SLU session to a host from this LU.
Possible values are:
AP_USE_NODE_DEFAULT
Use the nodes default termination method, specied by the send_term_self parameter on DE-
FINE_NODE.
AP_SEND_UNBIND
End the session by sending an UNBIND.
AP_SEND_TERM_SELF
End the session by sending a TERM_SELF.
3.32.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.32.4 Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
201