HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_TN3270_DEFAULTS
Chapter 4978
QUERY_TN3270_DEFAULTS
QUERY_TN3270_DEFAULTS returns information about TN3270
parameters used on all client sessions.
VCB Structure
typedef struct query_tn3270_defaults
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
TN3270_DEFAULTS_DEF_DATA def_data; /* TN3270 defaults */
} QUERY_TN3270_DEFAULTS;
typedef struct tn3270_defaults_def_data
{
AP_UINT16 force_responses; /* force printer responses? */
AP_UINT16 keepalive_method; /* method for sending keep-alives */
AP_UINT32 keepalive_interval; /* interval between keep-alives */
unsigned char reserv2[32]; /* reserved */
} TN3270_DEFAULTS_DEF_DATA;
Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_TN3270_DEFAULTS
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
def_data.force_responses