arsodfxb - Banner/header/trailer exit

On z/OS®, the arsodfxb exit enables you to customize the banner information that is written out to the JES spool file data sets. Banner information is written to the JES spool file data set when the recipient definition requests a banner to be printed and the location of the report bundle is print.

ODF calls the arsodfxb exit for three different types of banner data:
Banner Page
Information to be written out before the first report bundle in the distribution is written out to the JES spool file data set. The exit is called at the start of processing the first report bundle within the distribution with ODFBANER-REQUEST-TYPE = '1' to process Banner information.
Header Page
Information to be written out before the second and each subsequent report bundle in the information. The exit is called before each subsequent report bundle within the distribution with ODFBANER-REQUEST-TYPE = '2' to process the Header information.
Trailer Page
Information to be written out to the JES spool file data set after the report bundle has been written out. The exit is called after each report bundle is processed with ODFBANER-REQUEST-TYPE = '3'. The exit is passed information about the report bundle and recipient and uses this information to format the lines to display.

The exit returns a buffer of data. The maximum size is 10240 bytes. The exit formats the data and adds a new line character x'15' wherever the data should start on a new line in the spool file.