Enform Plus Reference Manual
Enform Plus Language Elements
Enform Plus Reference Manual—422684-001
3-5
Clauses
With the exception of the LIST and FIND statement, Enform Plus statements remain in
effect (unless canceled, reset, or overridden) for the duration of an entire Enform Plus
session. Enform Plus requires the LIST and FIND statements to be terminated with a
semicolon. The other Enform Plus statements should be terminated with a semicolon
because Enform Plus does not report errors until it encounters either a terminating
semicolon or the beginning of a new statement.
See Section 4, Statements
for the syntax of Enform Plus statements.
Clauses
Clauses are optional elements of Enform Plus statements. With the exception of the
option variable clauses and the system variable clauses, Enform Plus clauses apply only
to the LIST or FIND statement of which they are a part.
Some of the operations performed by Enform Plus clauses are:
•
Sorting and grouping target-records
•
Calculating subtotals, totals, percentages, and running totals
•
Printing user supplied information within a report
•
Formatting a report
•
Extracting the current date, time, line number, and page number
•
Converting data to internal or display format
See Section 5, Clauses
for the syntax of Enform Plus clauses.
Commands
Commands are compiler directives that tell the compiler/report writer to perform a
specific action. For example, commands tell the compiler/report writer to:
•
Associate a new physical file with a record description.
•
Attach a specific query processor.
•
Enter the text editor without leaving Enform Plus.
•
Compile a program and save it in a compiled query file.
•
Compile and execute an Edit-format file containing source code.
•
Execute a compiled query file.
•
Include part of an Edit-format file in the input to Enform Plus.
•
Display information about the current Enform Plus environment.
See Section 6, Commands
for the syntax of the Enform Plus commands.