Set EQUATE Values for MAI-OC Commands

The MAI-OC feature performs the functions of session connection and disconnection and sends messages on sessions in response to MAI-OC commands issued by users.

MAI-OC commands can be made easier to use if the standard SOLVE EQUATE command is utilized. For certain applications, use of EQUATE values enables the operation of MAI-OC sessions to be identical to operation of the same session from a native terminal attached directly to the application.

For example, if you have an MAI-OC session with an IMS system and want to display the IMS transaction queue, you would use the following full MAI command:

MAISEND IMS /DIS Q TRAN

The remainder of the data, starting with the slash (/), is the message to be sent to the application.

By setting up an EQUATE value as:

EQUATE / MAISEND IMS /

you can enter the IMS message text in its native form and allow the system to expand the slash (/) to the full MAISEND command format.

An alternative may be to EQUATE the target application name to the MAISEND command.

Another example, for use on a JES session, could be:

EQUATE $ MAISEND JES2 $

You can use it to enter JES2 commands as if in native mode, for example:

$DA

Note: The use of EQUATEs varies according to the requirements of different installations, and you should consider how EQUATEs can be used to make MAI-OC operation simple in your installation.


Copyright © 2010 CA. All rights reserved.