The SESSCONFIG command populates a REXX stem variable with configured session attributes for sessions selected according to specified criteria from a given session definition set. This command has the following format:
"SESSCONFIG [SESSTYPE({sesstype|ENABLED|DISABLED|ALL})] [DEFSET(sessiondefinitionset|STARTED|SAVED)] [PREFIX(sessconfig)]"
(Optional) Specifies the type of session to be listed. This operand can have one of the following arguments:
Lists attributes of all sessions in the selected session definition set with the console type of sesstype. Possible sesstype names are:
Lists attributes of all sessions configured as enabled.
Lists attributes of all sessions configured as disabled.
Lists attributes of all sessions in the selected session definition set.
Default: ALL
(Optional) Specifies the which definition set from which to get information
Specifies the name of the session definition set from which to get information
Uses the session definition set that is currently loaded in AP Desktop, which is unaffected by any configuration or runtime changes made after AP Desktop starts
Uses the session definition set that is currently selected as active in Configuration Manager
Default: STARTED
(Optional) Specifies the REXX stem variable that stores the session attributes. This value can be a maximum of 15 charaters.
Default: SESSCONFIG
Output of the command follows:
Contains the session definition set name
Contains the total number of returned sessions
Contains session name, 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 if a session is to be loaded:
Indicates the host name (applicable only for TELNET, SSH, TN3270, or TN5250)
Indicates the port (applicable only for TELNET, SSH, TN3270, or TN5250)
Indicates the 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.
|
|