HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_TP_LOAD_INFO
AP_STATE_CHECK
secondary_rc
Possible values are:
AP_SECURITY_LIST_NOT_DEFINED
The security_list_name parameter did not match any dened security list name.
3.47.6 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.48 DEFINE_TP_LOAD_INFO
DEFINE_TP_LOAD_INFO denes or changes an entry that describes information to be used when a transaction
program is loaded. An application must issue OPEN_FILE with a requested role of AP_TP_LOAD_INFO before
issuing the DEFINE_TP_LOAD_INFO verb.
3.48.1 VCB Structure
typedef struct define_tp_load_info
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char tp_name[64]; /* TP name */
unsigned char lu_alias[8]; /* LU alias */
TP_LOAD_INFO_DEF_DATA def_data; /* defined data */
} DEFINE_TP_LOAD_INFO;
typedef struct tp_load_info_def_data
{
unsigned char description[32]; /* Description */
unsigned char reserv1[16]; /* reserved */
unsigned char user_id[64]; /* User ID */
unsigned char group_id[64]; /* Group ID */
AP_UINT32 timeout; /* Timeout value */
unsigned char type; /* TP type */
unsigned char style; /* reserved */
AP_UINT16 ltv_length; /* Length of LTV data */
} TP_LOAD_INFO_DEF_DATA;
3.48.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_TP_LOAD_INFO
266