IMRUTRN and IMRUPGM cross-memory mode considerations
IMRUTRN and IMRUPGM user exits can be invoked in cross-memory mode. However, when you invoke these exits from cross-memory mode, SVCs cannot be issued from the exits.
Use the operating system services that can be issued in cross-memory mode with an EUT FRR in effect. For example, instead of GETMAIN, use the STORAGE macro or a branch entry to GETMAIN.
These exits gain control with primary addressability set to the control region. The Event Collector sets an EUT FRR to provide recovery while these exits are in control, regardless of the DEPREC parameter value in BBPARM member IMFECP00. If the routine abends, a warning message, a LOGREC, and (optionally) a dump are produced. The warning message is an action message that does not scroll off the operator’s console.
Abends in these exits are charged against the Event Collector. If the number of abends exceeds the ABCOUNT value specified in IMFECP00, the MainView for DBCTL product takes one of the following actions.
- If BACKOUT=NO, MainView for DBCTL abends the IMS control region
- If BACKOUT=YES, MainView for DBCTL disables the Event Collector
The BACKOUT parameter, specified in IMFECP00, has a default of YES (see Event-Collector-parameters).
Related topic