The TERMINATE REPORT instruction cancels a report execution.
TERMINATE REPORT report-name
TERMINATE REPORT cancels the report processing. It is typically used when the program (or the user) becomes aware that a problem prevents the report from producing part of its intended output, or when the user interrupted the report processing.
TERMINATE REPORT has the following effects:
The EXIT REPORT instruction has the same effect, except that it can be used inside the report definition.