SESSINF
Command | Parameters |
|---|---|
SESSINF | SESSION(sessionIdentifier) |
The following table describes the parameters:
Parameter | Function | Notes |
|---|---|---|
SESSION | Session identifier of the session to display | This identifier is returned by the LOGON command. Only one EXEC can use this command at a time. You must serialize the use of this command. |
Condition codes are listed in the following table:
Value | Description |
|---|---|
0 | Command was executed successfully. |
8 | One of the following situations occurred:
|
Example
This example command dumps all session-related information that is designated by IMSSESS to the OSPISNAP DD, which includes all session variables and the virtual screen image.
REXX EXEC example:
"IMFEXEC VENQ 'BOOLE' EXC"
"IMFEXEC SESSINF SESSION("IMSSESS")"
"IMFEXEC VDEQ 'BOOLE'"
CLIST example:
IMFEXEC SESSINF SESSION(&IMSSESS)
IMFEXEC VDEQ 'BOOLE'