To log on to another application using MAI-OC, use the MAILOGON command. Logging on creates an MAI-OC session. Sessions can be created with as many applications as you require and multiple sessions can be created with the same application.
For example, to establish a session with a CICS application with the application ID of CICSA, enter the following command:
MAILOGON CICSA
When the connection is established, you receive an initial message from the application informing you that you are connected.
Note: If the session is established with JES, you do not receive a message to confirm connection.