HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
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;
3.162.2 Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_TN3270_DEFAULTS
3.162.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
def_data.force_responses
Controls client responses on printer sessions. Possible values are:
AP_YES
Requests definite responses.
AP_NO
Request responses matching SNA traffic.
def_data.keepalive_method
Method for sending keep-alive messages. Keep-alive messages are messages sent to TN3270 clients when
there is no other activity on the connection, to keep the TCP/IP connections to the clients active; this ensures
that failed connections and clients can be detected. If there is no traffic at all on a TCP/IP connection, failure
of the connection or of the client may never be detected, which wastes TN server resources and prevents LUs
from being used for other sessions.
Possible values are:
AP_NONE
Do not send keep-alive messages.
AP_TN3270_NOP
Send Telnet NOP messages.
AP_TN3270_TM
Send Telnet DO TIMING-MARK messages.
677