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, use the MAIINT command. For example, to interrupt the session established with CICSA, enter the following command:
MAIINT CICSA
The MAIINT command can also be specified to generate an attention interrupt to the application by using the TYPE=ATTN operand, and a cancel interrupt by using the TYPE=CNCL operand.