The ON FILE statement identifies the file or library and member that contains the report to be analyzed.
The library containing the rule is referenced in the BJCL1A or BJCL1B member by the DABRULE DD statement.
The WHEN LINE/COL statement detects "TOTALS:" (a typical string for this type of balancing), the DO EXTRACT statement obtains the totals from the same line (+0) that satisfied the WHEN statement.
SYSJOBNAME and SYSDATE System variables are used in Rule 1B DO SHOUT and DO PRINT statements to refer to the current job name and date.