MAI Installation Exit MAIEX02 › Contents of the Communications Area › MAI Session Start Call
MAI Session Start Call
The MAI Session Start call is made when a new MAI session is about to start. The following parameters are contained in the communications area:
- Function code, F‘8’
- Address of the communications area
- ID of this system
- Security Exit correlator
- User ID of user starting the session
- Node name of terminal from which session is being started
- Session ID of session being started
- Terminal’s screen sizes
- Flags to indicate whether the session is MAI-OC
- Language code of the user
- System Correlator
Items from this point onwards can be modified by the exit and the modified information will be used when the session is created:
- User Correlator
- User Security Token
- Session Correlator
- Any LU name chosen by the user
- MAI node name prefix as designated by a SYSPARMS MAIOPREF command
- The application with which the session will be started
- The LOGMODE name chosen by the user or MAI
- The length of any user data to be passed to the application at LOGON
- The user data itself
- An area into which the exit may place an error message if the session is to be refused
- A work area to be used for any purpose
- An indicator word, into which the exit places a value of F‘4’ if it requires an ACB open call
- The name of an NCL procedure to perform session script functions, and optional parameters to be passed to it