Previous Topic: Disconnect an MAI-OC Session

Next Topic: Send Data to an Application

Interrupt an MAI-OC Session

You can interrupt an MAI-OC session to achieve different effects depending on the application you are connected to. For example, if you have a TSO session established, an interrupt cancels the current operation. If you have an IMS session, it removes the current message from the queue and requests the next one. See the relevant product guide for more information about the effect of an interrupt.

To interrupt an MAI-OC session, enter the following command:

MAIINT session_id

You can also use the MAIINT command to generate an attention interrupt to an application by using the TYPE=ATTN operand and a cancel interrupt by using the TYPE=CNCL operand.

Example: Interrupt an MAI-OC Session

The following command interrupts the session with a CICSA application that was established with the default CICSA session ID:

MAIINT CICSA