HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_RJE_WKSTN
rje_wkstn_summary.system_name
The computer name on which the workstation is running. This is an ASCII string, padded on the right with
spaces.
rje_wkstn_summary.wkstn_pid
The process ID of the workstation.
rje_wkstn_detail.overlay_size
The size of the returned
rje_wkstn_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
rje_wkstn_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 releases.
rje_wkstn_detail.workstation_name
The name of the RJE workstation.
rje_wkstn_detail.system_name
The computer name on which the workstation is running. This is an ASCII string, padded on the right with
spaces.
rje_wkstn_detail.wkstn_pid
The process ID of the workstation.
rje_wkstn_detail.wkstn_uid
The HP-UX user ID with which the workstation is running.
rje_wkstn_detail.wkstn_gid
The HP-UX group ID with which the workstation is running.
rje_wkstn_detail.wkstn_gname
The HP-UX group name with which the workstation is running. This is an ASCII string, padded on the right
with spaces.
rje_wkstn_detail.wkstn_session_count
The number of LU sessions currently active for this workstation.
rje_wkstn_detail.wkstn_start_time
The time at which the workstation was started (this may be earlier than the start time for the rst LU session).
This value is specied as seconds since epoch (the number of seconds since the start of the year 1970).
3.152.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_WORKSTATION
The list_options parameter was set to AP_LIST_INCLUSIVE to list all entries starting from the
specied name, but the workstation_name or system_name parameter was not set to a valid value.
628