HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_3270_DIAG
Chapter 3160
DEFINE_3270_DIAG
DEFINE_3270_DIAG specifies the 3270 diagnostics parameters for
SNAplus2: the parameters used to record and display response-time
data, and the 3270 user alerts that users can send to the host NetView
program. It can be used to define 3270 diagnostics parameters for the
first time, or to modify an existing definition.
This verb must be issued to the domain configuration file.
VCB Structure
The DEFINE_3270_DIAG verb contains a variable number of
alert_3270_data structures, each of which defines a 3270 user alert.
The structures are included at the end of the diag_3270_data structure;
the number of these structures is specified by the
num_alerts
parameter.
typedef struct define_3270_diag
{
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 */
DIAG_3270_DATA def_data;
} DEFINE_3270_DIAG;
typedef struct diag_3270_data
{
unsigned char rtm_overflow; /* Send RTM data at counter */
/* overflow */
unsigned char rtm_unbind; /* Send RTM data at UNBIND */
unsigned char rtm_timer_option; /* RTM timers option */
unsigned char reserv1; /* reserved */
AP_UINT16 rtm_thresh1; /* RTM threshold #1 */
AP_UINT16 rtm_thresh2; /* RTM threshold #2 */
AP_UINT16 rtm_thresh3; /* RTM threshold #3 */
AP_UINT16 rtm_thresh4; /* RTM threshold #4 */
AP_UINT16 num_alerts; /* Number of user alerts */
} DIAG_3270_DATA;
typedef struct alert_3270_data
{
AP_UINT16 overlay_size; /* reserved */