TRANSMIT


This command responds in an OSPI session to a VTAM application by sending a 3270 input data stream. This response is equivalent to an operator pressing an active (non-local) key on a 3270 terminal keyboard.

See Interacting-with-VTAM-applications-with-OSPI for more information about using this command and OSPI.

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:

  • ENTER
  • CLEAR
  • PFx (where x = 1-24)
  • PAx (where x= 1-3)

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:

/* REXX */
"IMFEXEC TRANSMIT ENTER SESSION("OSISESS")"

CLIST example:

IMFEXEC TRANSMIT ENTER SESSION(&OSISESS)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Automation 8.3.01