OMEGAMON for IMS Classic calling conventions for security exit routines

OMEGAMON for IMS Classic uses a single control block to pass information to the exit routine and certain conventions to call the user exit module.

The $UCHECK control block

OMEGAMON for IMS Classic uses the $UCHECK control block to pass information to the exit routine. The exit routine also uses $UCHECK to pass information back to OMEGAMON for IMS Classic.

The $UCHECK macro maps the $UCHECK control block. Member KOBGMAC of thilev.TKANMAC. defines $UCHECK.

Maintains the $UCHECK control block for the entire life of the session, and gives the installation a 512-byte work area for its own use.
Important: The $UCHECK work area is limited to 512 bytes.

If your installation requires a larger work area, GETMAIN the additional storage that is required and place the pointer to this GETMAINed area in $UCHECK.

An attempt to enlarge this work area beyond its 512-byte limit in any other way causes an overlay of essential OMEGAMON for IMS Classic control blocks. Results are unpredictable.

If you modify the RACF® RACROUTE macro, you must GETMAIN at least 512 bytes for use as the WORKA parameter.

Exit routine calling conventions

OMEGAMON for IMS Classic calls the user exit module by using the following register conventions.
1
Address of parameter list.
13
Address of standard save area.
14
Return address.
15
Entry point address (in).
15
Return code (out).

Word 1 of the parameter list contains the control block address.