Report writing during session processing

The report writer exit is ERBMFRUR. It is called once during the Monitor I session report writing phase.

When the exit gets control, register 1 points to a two-word address list. The first address points to the two-word area reserved for use by user routines. The second address points to the RMF™ phase parameter, which is always X‘10’ for the report writer. Figure 1 illustrates the input parameter structure.

When the report writer exit is entered, the system is in problem state, and all interrupts are enabled. The routine runs in the user key 8. The user word your installation selects contains the address of the formatted records built by ERBMFDUC. Because all of your installation's exit routines use these words, the report writer must not alter their contents. Report writer processing must obtain output space for the printed reports, then write the reports for subsequent printing. Before terminating, the routine must free the storage that contained the records formatted by ERBMFDUC.

When the report writer completes its processing, return control by branching on register 14.

Figure 1. ERBMFRUR Input Parameter Structure
This figure shows the ERBMFRUR Input Parameter Structure and is explained in the surrounding text.