Previous Topic: Second-level Serialization

Next Topic: How the Exit Starts

Sample Exit

A sample exit, MAIEX02, is installed with your product in CC2DSAMP. We recommend that you assemble and study this before writing an exit. The macro $NMMAEX2 in the CC2DMAC data set must be available for this assembly to function correctly.

The sample shows a way in which the correlators can be used to count the number of MAI sessions a user has and the total number at any one time. It then limits the number of sessions allowed and rejects sessions if the counts pass a predetermined level. Because Session Start and End calls to the sample exit update the System Correlator, it requires the MAIEX02S=SYSTEM serialization level.

This sample also includes support for generating Pass tickets as used by the Secured Signon function of RACF and other external security products.