ENFORM Reference Manual

5 Clauses
058057 Tandem Computers Incorporated 5–1
This section describes the syntax of the ENFORM clauses. The clauses are specified in
alphabetical order.
ENFORM clauses are components of statements. They provide additional
specifications of the ENFORM program to be performed. Most of the ENFORM
clauses remain in effect only for the query associated with the LIST OR FIND
statement of which they are a part.
An ENFORM program with a FIND statement produces records only; it has no report
features such as headings, titles, summary information, and special formatting. The
following clauses are applicable only to ENFORM programs with a LIST statement
and cannot be used in programs with a FIND statement:
AFTER CHANGE clause NOPRINT clause
AS clause PCT clause
AS DATE clause SKIP clause
AS TIME clause SPACE clause
AT END PRINT clause SUBFOOTING clause
AT START PRINT clause SUBTITLE clause
BEFORE CHANGE clause SUBTOTAL clause
CENTER clause SUPPRESS clause
CUM clause System Variable clauses
FORM clause TAB clause
FOOTING clause TITLE clause
HEADING clause TOTAL clause
NOHEAD clause WHERE clause
Several of the Option Variable clauses
Table 5-1 shows the ENFORM clauses and their functions.
Table 5-1. ENFORM Clauses and Their Functions
Field Selection, Grouping, and Sorting
Clause Function
ASCD and DESC sort target-records in ascending or descending order respectively according
to the value of a specified field.
BY and BY DESC group and sort target-records according to the value of a specified field.
SUPPRESS eliminates certain records from being printed in the report, but does not limit
the records from contributing to the report calculations.
WHERE selects which records will contribute to the output.