TERMINATE REPORT

The TERMINATE REPORT instruction cancels a report execution.

Syntax

TERMINATE REPORT report-name
  1. report-name is the name of the report to be canceled.

Usage

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.