Previous Topic: The RPGXB Exit (JSIRPGXB)

Next Topic: Utilities


The RPGXC Exit (JSIRPGXC)

This exit, when used as an Exit 3, averages intermediate level results over the number of days found at the minor level. The following conditions must be present for this exit to function correctly:

  1. Be sure to specify job level detail on the SORT statement (1 in position 50), although detail lines will be suppressed in the report.
  2. On the SORT statement, specify ascending sort on Group Code #3 as the major sort field (first sort field on the SORT statement), and specify ascending sort on the run date as the minor sort field (third sort on the SORT statement). The other sort fields are open to the user to sort on any field he chooses.
  3. Exit 2 must invoke JSIRPGXA which sets the correct group code for day of the week.

Stop time will contain the number of days over which the data has been averaged. The last 8 positions of the description will contain that also.

This exit only calculates averages on the following data elements: