The SESSLIST command populates a REXX stem variable with current session attributes for currently loaded sessions selected according to specified criteria. Disabled sessions as specified in the active session definition set are not returned. This command has the following format:
"SESSLIST [SESSTYPE({sesstype|AUTOMATED|PAUSED|CONNECTED|DISCONNECTED|ALL})] [PREFIX(sessname)]"
(Optional) Specifies the type of session to be listed. This operand can have one of the following arguments:
Lists attributes of sessions in the active session definition set with the console type of sesstype. Possible sesstype names are:
Lists attributes of all sessions currently being automated.
Lists attributes of all sessions for which automation is paused.
Lists attributes of all sessions currently connected to a host.
Lists attributes of all sessions currently not connected to a host.
Lists attributes of all enabled sessions in the active session definition set.
Default: CONNECTED
(Optional) Specifies the REXX stem variable in which to store the session attributes.This value can be a maximum of 15 characters.
Default: SESSNAME
Output of the command follows:
Contains the session definition set name which is currently active in AP desktop
Indicates whether global automation pause is currently in effect
Contains the total number of returned sessions
Contains session names (where i is 1 to prefix.0).
Reports following attributes for each session, where i is 1 to prefix.0 and attribute is one of the following keywords:
Indicates the automation status:
Indicates the connection status:
Indicates the console type (Default, ASYNCH, MCS, TANDEMALL, DTX, RCS, VAX, JES3, SYSPLEX, VAXALL, JES3MCS, TANDEM, VM, VSE, ISERIES)
Indicates the LU name or Device name (applicable only for TN3270, TN5250 )
Indicates the communication device or protocol used to connect the session
Indicates the host name (applicable only for TELNET, SSH, TN3270, or TN5250)
Indicates the port (applicable only for TELNET, SSH, TN3270, or TN5250)
Indicates a custom menu name or Default
Indicates the name of the session
Indicates the system name
Indicates the terminal type (3278, 3278_2, 3278_3, 3278_4, 3278_5, 3279, 3279_2, 3279_3, 3279_4, 3279_5, 3477, 5292, 6530, ASYNCH, AXC, VIO, VIO43, VIO50, VT52, VT100, VT320, VT420)
Indicates the title
If an attribute is not applicable for particular session, the attribute value contains the string "N/A".
|
Copyright © 2011 CA.
All rights reserved.
|
|