Start the Exit

To start the MAIEX02, use the SYSPARMS MAIEX02 command, naming the program that is to act as the exit. If the SYSPARMS command is included in the RMINIT procedure, an Exit Initialization call is made. Subsequent MAI session requests then call the exit. If the exit is not included in RMINIT, but is invoked using command from a terminal, any existing users with MAI sessions may have to log off before any calls are made to the exit for that user.

During the testing phases of the exit, it may be necessary to force a new Initialization Call or to invoke an entirely different program. This can be accomplished by entering another SYSPARMS MAIEX02 command, specifying the same or a different program name. When the command is entered, an Initialization Call is made, with a zero System Correlator and any existing User Correlators are zeroed. In addition, MAI ensures that if any MAI sessions are currently in progress, the ending of those sessions does not cause a Session End call to be made to the old or the new exit.


Copyright © 2010 CA. All rights reserved.