Final total-only processing

 

The Open Query File (OPNQRYF) command supports final-total-only processing. It is a special form of grouping in which you do not specify grouping fields. The output is only one record.

All of the special built-in functions for grouping can be specified. You can also specify the selection of records that make up the final total.

 

Parent topic:

Selecting records without using DDS