HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_3270_USER_SESSIONS
unsigned char reserv3[5]; /* reserved */
unsigned char user_name[32]; /* 3270 user name */
unsigned char system_name[128]; /* computer name */
AP_UINT32 user_pid; /* process ID */
unsigned char lu_name[8]; /* LU of session to start from */
} QUERY_3270_USER_SESSIONS;
typedef struct user_3270_session_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU used by session */
unsigned char reserv1[4]; /* Reserved */
} USER_3270_SESSION_SUMMARY;
typedef struct user_3270_session_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char lu_name[8]; /* LU used by session */
unsigned char nau_address; /* NAU adddress of LU */
unsigned char sess_type; /* 3270 session type */
unsigned char reserv1[6]; /* Reserved */
} USER_3270_SESSION_DETAIL;
3.89.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_3270_USER_SESSIONS
buf_ptr
A pointer to a data buffer that SNAplus2 will use to return the requested information.
buf_size
Size of the supplied data buffer.
num_entries
Maximum number of sessions for which data should be returned. To request data for a specific session rather
than a range, specify the value 1. To return as many entries as possible, specify zero; in this case, SNAplus2
will return the maximum number of entries that can be accommodated in the supplied data buffer.
list_options
The position in the list of sessions from which SNAplus2 should begin to return data, and the level of
information required for each entry. Specify the level of information with one of the following values:
AP_SUMMARY
Summary information only.
AP_DETAIL
Detailed information.
Combine this value using a logical OR operation with one of the following values:
AP_FIRST_IN_LIST
Start at the first session in the list.
339