Previous Topic: Interrupt an MAI-OC Session

Next Topic: Data Received from an Application

Send Data to an Application

When you have logged on to an application, you may want to send data to the application.

To send data to an application, use the MAISEND command. This command nominates the session identifier of the session over which you want to send the data, followed by the data you want to send.

To send data to an application, enter the following command:

MAISEND session_id data

Note: An MAI-OC session looks like a session with a hard-copy terminal. It does not function on a full-screen basis. For example, an attempt to invoke ISPF on a TSO session is rejected.

Example: Send Data to an Application Session

The following command sends data to the CICSA session:

MAISEND CICSA CEMT I TRAN

MAI-OC may append a new line character to the message (to simulate a RETURN key) and the data is sent.