SESSINF
This command writes OSPI session specific information to the OSPISNAP DD and is used in debugging OSPI EXECs.
Information includes the current contents of the buffer image, cursor position and keyboard status, and a SNAP dump of all VTAM data exchange, including the RPL.
See Interacting-with-VTAM-applications-with-OSPI for more information about using this command and OSPI.
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'
Related topic