HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_TN3270_DEFAULTS
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.
tn3270_association.display_lu_name
Name of the display LU associated with the printer LU specified by the association.printer_lu_name parameter.
This is an EBCDIC string padded on the right with EBCDIC spaces.
tn3270_association_def_data.description
A null-terminated text string that describe the association, as specified in the definition of the association.
tn3270_association_def_data.printer_lu_name
Name of the printer LU associated with the display LU specified by the association.display_lu_name
parameter. This is an EBCDIC string padded on the right with EBCDIC spaces.
3.161.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_NAME
Indicates one of the following:
• The list_options parameter was set to AP_LIST_FROM_NEXT, but the display LU name was not
a valid EBCDIC string.
• The list_options parameter was set to AP_LIST_INCLUSIVE, but the display LU name either was
not a valid EBCDIC string or did not correspond to an existing association record.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.161.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.162 QUERY_TN3270_DEFAULTS
QUERY_TN3270_DEFAULTS returns information about TN3270 parameters used on all client sessions.
3.162.1 VCB Structure
typedef struct query_tn3270_defaults
{
676