HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_TP_LOAD_INFO
tp_name
The TP name of the TP load info entry to be defined. This is a 64-byte EBCDIC string, padded on the right
with spaces if the name is shorter than 64 characters.
lu_alias
The LU alias of the TP load info entry to be defined. This is an 8-byte ASCII character string.
Note
This parameter can be used only if the TP is an APPC TP. If the TP is a CPI-C
application, this parameter is reserved and must be set to all zeros. CPI-C does not
support accepting incoming Attaches from a particular local LU; specifying an LU
alias (even a blank LU alias) for a CPI-C application will cause errors in routing the
incoming Attach to the TP.
def_data.description
A null-terminated text string (0–32 characters followed by a null character) describing the TP load info. This
string is for information only; it is stored in the node’s configuration file and returned on the QUERY_TP
verb, but SNAplus2 does not make any other use of it.
def_data.user_id
User ID required to access and run the TP.
def_data.group_id
Group ID required to access and run the TP.
def_data.timeout
Timeout in seconds after the TP is loaded.
def_data.type
Specifies the TP type. Possible values are:
AP_TP_TYPE_QUEUED
AP_TP_TYPE_QUEUED_BROADCAST
AP_TP_TYPE_NON_QUEUED
def_data.ltv_length
Length of the block of LTV data that is appended to this verb. Each LTV structure is specified in
TP_LOAD_INFO_LTV.
TP_LOAD_INFO_LTV
The LTV data is specified as a series of non-byte-aligned LTVs each of which consists of the following:
• A 2-byte length field with a maximum value of 258 bytes. This field is in line format and is read or
written using NB_PUT_SHORT or NB_GET_SHORT.
• A 1-byte type field set to one of the following possible values:
AP_TYPE_TP_PATH
Path. The value string specifies the full path name of the TP executable.
AP_TYPE_TP_ARGUMENTS
Arguments. The value string specifies a command-line argument required by the TP.
267