HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_MDS_APPLICATION
Total number of entries available. A value greater than num_entries indicates that not all the available entries
were returned.
Each entry in the data buffer consists of the following parameters:
mds_application_data.overlay_size
The size of the returned
mds_application_data 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
mds_application_data
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.
mds_application_data.application
Name of registered application. This is an 8-byte type-A EBCDIC string, padded on the right with spaces if
the name is shorter than 8 characters.
mds_application_data.max_rcv_size
The maximum number of bytes that the application can receive in one message (this is specified when an
application registers with MDS). For more information about MDS-level application registration, refer to the
HP-UX SNAplus2 MS Programmer’s Guide.
3.135.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_APPLICATION_NAME
The list_options parameter was set to AP_LIST_INCLUSIVE to list all entries starting from the
supplied name, but the application 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.135.5 Returned Parameters: Function Not Supported
If the verb does not execute successfully because the local node configuration does not support it, SNAplus2 returns
the following parameters:
primary_rc
AP_FUNCTION_NOT_SUPPORTED
The local node does not support MS network management functions; this is defined by the
mds_supported parameter on the DEFINE_NODE verb.
3.135.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.
540