5.4.3
TERMINATE
60229400
Report processing is completed by the TERMINATE statement.
TERMINATE report-name-l [, report-name-2] ...
Each report name must be defined by an RD entry in the Data Division.
The TERMINATE statement produces all control footings associated with this
report as if a control break had just occurred at the highest level; and it com-
pletes the Report Writer functions for the named reports. TERMINATE also
produces the last page and report footing report groups associated with this
report. Page heading or page footing report groups are prepared in order
for the report description.
A second TERIVIINATE statement for a particular report may not
be
executed
unless an intervening I:NiTIATE statement has been executed for the report
name.
The TERMINATE statement performs Report Writer functions for individually
described report programs analogous to the input-output functions that the
CLOSE statement performs for individually described files. TERMINATE
does not close the file with which the report is associated; a CLOSE statement
for the file must be given by the user.
SOURCE clauses used in final control footing or report footing report groups
refer to the values of the items during execution of the TERMINATE statement.
5-29
Need help?
Do you have a question about the 3300 and is the answer not in the manual?