HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_SNA_NET
Total number of entries available. A value greater than num_entries indicates that not all the available entries
were returned.
domain_name
The name of the TCP/IP domain containing the SNAplus2 LAN. This name was specified during installation
of the master server.
Each entry in the data buffer consists of the following parameters:
backup_summary.overlay_size
The size of the returned
backup_summary
structure, and therefore the offset to the start of the next entry in the
data buffer.
When your application needs to go through the returned buffer to find each
backup_summary structure in turn, it
must use this value to move to the correct offset for the next data structure, and must not use the C
sizeof()
operator. This is because the size of the returned overlay may increase in future releases of SNAplus2; using
the returned overlay size ensures that your application will continue to work with future releases.
backup_summary.server_name
Server name.
3.158.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
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.158.5 Returned Parameters: State Check
If the verb does not execute because of a state check, SNAplus2 returns the following parameters.
primary_rc
AP_STATE_CHECK
secondary_rc
Possible values are:
AP_RECORD_NOT_FOUND
The list_options parameter was set to AP_LIST_INCLUSIVE or AP_LIST_FROM_NEXT to list
entries starting from the supplied server name, but the backup_name parameter did not match an
entry in the file. If the supplied name was one returned on a previous QUERY_SNA_NET verb, this
indicates that the list has been updated (by another administration program or NOF application) since
the previous verb; the application should reissue QUERY_SNA_NET to obtain the complete list.
AP_INVALID_TARGET
The target handle on the NOF API call specified a configuration file or a node. This verb must be
issued to the sna.net file.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK, which
are common to all NOF verbs.
655