Administration Commands

query_3270_user_sessions

The computer name on which the 3270 emulation program is running.

user_pid

The process ID of the 3270 emulation program.

user_uid

The user ID with which the 3270 emulation program is running.

user_gid

The group ID with which the 3270 emulation program is running.

user_gname

The group name with which the 3270 emulation program is running.

user_session_count

The number of sessions currently active for this copy of the 3270 emulation program. You can use query_3270_user_sessions to obtain detailed information about these sessions.

user_start_time

The time at which the user started the 3270 emulation program (this may be earlier than the start time for the first session). On HP-UX, this value is a character string in the format generated by the HP-UX function ctime(); for example, Thu Nov 24 17:01:12 1994.

2.99.4 Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:

primary_rc

PARAMETER_CHECK

secondary_rc

Possible values are:

INVALID_3270_USER

The user_name, system_name, or user_pid parameter was not set to a valid value.

State Check

No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.

Other Conditions

Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.

2.100 query_3270_user_sessions

The query_3270_user_sessions command returns information about a 3270 emulation user’s current sessions. The command can return summary or detailed information about a single session or multiple sessions,

299

Page 299
Image 299
HP UX Internet and Networking Software manual Query3270usersessions