HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_3270_USER_SESSIONS
total_num_entries
Total number of entries that could have been returned. This may be higher than num_entries.
num_entries
The number of entries actually returned.
system_name
The computer name on which the 3270 emulation program is running.
user_pid
The process ID of the 3270 emulation program.
Each entry in the data buffer consists of the following:
user_3270_session_summary.overlay_size
The size of the returned
user_3270_session_summary structure, and therefore the offset to the start of the next
entry in the data buffer.
When your application needs to go through the returned buffer to nd each
user_3270_session_summary
structure
in turn, it must use this value to move to the correct offset for the next data structure, and must not use the
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.
user_3270_session_summary.lu_name
The LU being used by the session.
user_3270_session_detail.overlay_size
The size of the returned
user_3270_session_detail structure, and therefore the offset to the start of the next entry
in the data buffer.
When your application needs to go through the returned buffer to nd each
user_3270_session_detail structure
in turn, it must use this value to move to the correct offset for the next data structure, and must not use the
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 re-
leases.
user_3270_session_detail.lu_name
The LU being used by the session.
user_3270_session_detail.nau_address
The NAU address of the LU used by the 3270 session.
user_3270_session_detail.sess_type
The type of 3270 session (display or printer).
3.89.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_3270_USER
341