GRAND.TOTAL, GRAND-TOTAL, CAPTION
The GRAND.TOTAL keyword (synonyms GRAND-TOTAL and CAPTION) specifies text to appear at the left edge of the grand total line when any field accumulations (AVERAGE, ENUMERATE, MAX, MIN, PERCENTAGE or TOTAL) are used.
The GRAND.TOTAL text may include control options enclosed in single quotes. These are:
The default form of the grand total is to show a line of equals signs (=) above the total values. The grand total text appears on the left of this line.
The PICK.GRAND.TOTAL keyword of the OPTION command provides closer compatibility with Pick style systems where there is no underline and the text is displayed on the line that holds the total values.
The U control option inverts inclusion of the underline. Without PICK.GRAND.TOTAL, this mode omits the underline. With PICK.GRAND.TOTAL, the underline is shown.
LIST SALES TOTAL ORDER.VALUE GRAND.TOTAL "TOTAL"
might produce the report below.
LIST SALES TOTAL ORDER.VALUE GRAND.TOTAL "TOTAL" Page 1
SALES..... ORDER VALUE
7 records listed.