5-22
If
the sum of a data item is to be presented at a higher level of the control
hierarchy, the lower level SUM specification may be omitted.
If
higher level
report groups are indicated in the control heirarchy, counter updating pro-
cedures take place prior to the reset operation. Unless RESET is specified,
each summation counter at the level just produced is reset to zero.
The UPON data-name-1 option provides selective summation when a particular
data item is named in the SOURCE clause of two or more detail report groups.
Identifier-3, identifier-4, etc., must be named in a SOURCE clause in the
detail report group identified by data-name-2.
Example:
01
TYPE IS CONTROL FOOTING SECT-NO LINE PLUS 2.
02
COLUMN 20 PICTURE
X(lO)
VALUE IS "SEC TOTAL".
02
COLUMN 30 PICTURE ZZZ, ZZZ. 99 SUM AMNT-NO.
If
AMNT-NO is the object of a SOURCE clause in a detail report group,
each time the detail group is presented the contents of AMNT-NO will
be added to the summation counter associated with AMNT-NO. The
contents of this counter will be presented when the control footing report
group is presented.
60229400
Need help?
Do you have a question about the 3300 and is the answer not in the manual?