HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_DIRECTORY_LU
Specifies whether this directory entry was registered by another node that is not the owning CP of the resource.
This is one of the following:
AP_NONE
The directory entry was not registered, or was registered by its owning CP.
AP_ENCP_RESOURCE
The directory entry was registered by a node that is not its owning CP. For example, if the resource is
owned by an End Node in the domain of a Branch Network Node (BrNN) that is itself in the domain
of the local node, the BrNN is the supplier because it registers the resource with the local node, but the
real owning CP is the End Node.
directory_entry_detail.supplier_cp_name
This parameter applies only if the local node is a Network Node or a Branch Network Node; it is reserved
otherwise.
If the
supplier_cp_type parameter indicates that the directory entry was registered by a node that is not the
owning resource, this parameter specifies the fully qualified name of the CP that supplied the registration;
otherwise it is reserved.
The name is a 17-byte EBCDIC string, padded on the right with EBCDIC spaces. It consists of a network ID
of 1–8 A-string characters, an EBCDIC dot (period) character, and a network name of 1–8 A-string characters.
3.107.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_RES_NAME
The list_options parameter was set to AP_LIST_INCLUSIVE, to list all entries starting from the
supplied name, but the resource_name parameter was not valid.
AP_INVALID_RES_TYPE
The resouce_type parameter was not set to a valid value.
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.107.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.108 QUERY_DIRECTORY_LU
QUERY_DIRECTORY_LU returns a list of LUs from the directory database. It can be used to obtain information
about a specific LU, or about multiple LUs, depending on the options used.
397