Author: sergeyken
Subject: Re: Reply to: Consolidating and summing file contents
Posted: Thu Aug 11, 2016 6:26 pm (GMT 5.5)
Some clarification
TOTAL/TOT
Use the TOTAL subparameter to specify that numeric data are to
be accumulated and totaled at the end of a report, logical page, or
section.
COUNT
Use the COUNT subparameter to obtain a count of the number of
records in either the entire report or a specific part of the report.
Subject: Re: Reply to: Consolidating and summing file contents
Posted: Thu Aug 11, 2016 6:26 pm (GMT 5.5)
Bill Woodger wrote: |
Count of the records in an OUTFIL group is what TOT/TOTAL does. So the entire trailer record can be generated by TRAILERn. |
Some clarification
TOTAL/TOT
Use the TOTAL subparameter to specify that numeric data are to
be accumulated and totaled at the end of a report, logical page, or
section.
COUNT
Use the COUNT subparameter to obtain a count of the number of
records in either the entire report or a specific part of the report.