Previous Topic: CALL CommandNext Topic: COMPUTE During Record Selection


COMPUTE Command

The COMPUTE command performs one or more arithmetic calculations in a specified order to yield a single numeric result. To provide maximum flexibility, the Reporting Facility supports two unique formats of the COMPUTE command.

The function of each type of command is basically the same, but format and placement of the different commands within the program vary slightly.