The table below points to the appropriate presentation rules for all permissible combinations of LINE NUMBER and NEXT GROUP
clauses in a PAGE FOOTING report group.
Table 1. Page Footing Presentation Rules
1
|
Applicable Rules 2 |
If the PAGE Clause is specified 3 |
Sequence of LINE NUMBER Clauses 4 |
NEXT GROUP Clause |
Upper Limit |
Lower Limit |
First Print Line Position |
Next Group |
Final LINE COUNTER Setting |
AR |
Absolute |
1 |
2 |
3a |
4a |
5a |
AR |
Relative |
1 |
2 |
3a |
4b |
5b |
AR |
|
1 |
2 |
3a |
|
5c |
|
|
|
|
3b |
|
5d |
The page footing presentation rules are as follows:
- Upper limit rule.
The first line number on which the page footing report group can be presented is the line number obtained by adding one to
the value of integer-5 of the FOOTING phrase of the PAGE clause.
- Lower limit rule.
The last line number on which the page footing report group can be presented is the line number specified by integer-1 of
the PAGE clause.
- First print line position rules.
- The first print line of the page footing report group is presented on the line specified by the integer of its LINE NUMBER
clause.
- The page footing report group is not presented.
- Next group rules.
- The NEXT GROUP integer must be greater than the line number on which the final print line of the page footing report group
is presented. In addition, the NEXT GROUP integer must not be greater than the line number specified by integer-1 of the PAGE
clause.
- The sum of the NEXT GROUP integer and the line number on which the final print line of the page footing report group is presented
must not be greater than the line number specified by integer-1 of the PAGE clause.
- Final LINE-COUNTER setting rules.
- After the page footing report group is presented, the RWCS places the NEXT GROUP integer into LINE-COUNTER as the final LINE-COUNTER
setting.
- After the page footing report group is presented, the RWCS places the sum of the NEXT GROUP integer and the line number on
which the final print line of the PAGE FOOTING report group was presented into LINE-COUNTER as the final LINE-COUNTER setting.
- After the PAGE FOOTING report group is presented the final LINE-COUNTER setting is the line number on which the final print
line of the PAGE FOOTING report group was presented.
- LINE-COUNTER is unaffected by the processing of a nonprintable report group.