HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_PU
def_data.implicit_link_lvl_error
For SDLC, this parameter is not used.
For other link types, this parameter specifies whether HPR traffic should be sent on implicit links using link-
level error recovery (
AP_YES or AP_NO). The parameter is reserved if implicit_hpr_support is set to AP_NO.
def_data.default_tg_chars
Default TG characteristics. These are used for implicit link stations using this port, and as the default TG
characteristics for defined link stations that do not have TG characteristics explicitly defined. For details of
these parameters, see Section 3.29, DEFINE_LS.
port_detail.def_data.port_spec_data_len
Unpadded length, in bytes, of the port-specific data. The data structure for this data follows the
port_def_data
structure, but is padded to start on a 4-byte boundary. For more details of the port-specific data, see Section
3.39, DEFINE_PORT.
port_detail.def_data.link_spec_data_len
Unpadded length, in bytes, of the link-specific data. The data structure for the link-specific data follows the
data structure for the port-specific data, but is padded to start on a 4-byte boundary. For more details of the
link-specific data, see Section 3.39, DEFINE_PORT.
3.149.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_PORT_NAME
The list_options parameter was set to AP_LIST_INCLUSIVE to list all entries starting from the
supplied name, but the port_name parameter was not valid.
AP_INVALID_LIST_OPTION
The list_options parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.149.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.150 QUERY_PU
QUERY_PU returns information about local PUs and the links associated with them. This verb can be used to
obtain information about a specific PU or about multiple PUs, depending on the options used.
617