TRANSMIT
When using this statement, you must remember to code IMFEXEC with the TRANSMIT command. If you do not, you might cause the TSO/E TRANSMIT command to be invoked.
Command | Parameters |
---|---|
TRANSMIT | [ENTER|CLEAR|PFx|PAx] SESSION(sessionIdentifier) |
The following table describes the parameters:
Parameter | Function | Notes |
---|---|---|
Keystroke | Key used to transmit the buffer | One of the following pools:
|
SESSION | Session identifier for session to reference | This session identifier is returned initially through the LOGON command. |
After a TRANSMIT command, a receive function is implied. After the receive, the virtual screen buffer is modified with the application’s data.
You can query the buffer by coding the VGET command for any of the session variables or by using the SCAN command. Some applications require the explicit use of a RECEIVE command after a TRANSMIT. See Interacting-with-VTAM-applications-with-OSPI for more information.
Condition codes are listed in the following table:
Value | Description |
---|---|
0 | Command responded before wait time expired. |
8 | Session was not found. |
Example
This example command transmits the modified virtual screen back to the host application by using the Enter key. The SESSION keyword designates the referred session.
REXX EXEC example:
"IMFEXEC TRANSMIT ENTER SESSION("OSISESS")"
CLIST example: