HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_TP_DEFINITION
Number of instances of the TP that have been started locally (by the TP issuing a TP_STARTED verb).
tp_data.remotely_started_count
Number of instances of the TP that have been started remotely (by a received Attach request).
3.164.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
Possible values are:
AP_INVALID_LIST_OPTION
The
list_options parameter was not set to a valid value.
AP_INVALID_LU_ALIAS
The supplied lu_alias parameter was not valid.
AP_INVALID_LU_NAME
The supplied lu_name parameter was not valid.
AP_INVALID_TP_NAME
The list_options parameter was set to
AP_LIST_INCLUSIVE to list all entries starting from the
supplied name, but the tp_name parameter was not valid.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.164.5 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.165 QUERY_TP_DEFINITION
QUERY_TP_DEFINITION returns information about TPs dened on the SNAplus2 system. This verb can be
used to obtain information about a specic TP or about multiple TPs, depending on the options used. It returns
information about the denition of the TPs, not about their current usage; use QUERY_TP to obtain the usage
information.
3.165.1 VCB Structure
typedef struct query_tp_definition
{
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 */
682