Statements; Clauses; Commands - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Statements

Statements contain specifications for selecting and formatting elements from your data
base. Composed of keywords, clauses, and target-lists, the ENFORM statements LIST
and FIND provide the basic specifications for information selection. Additional
statements establish the query environment and provide some report structuring
capability.
With the exception of the LIST and FIND statement, ENFORM statements remain in
effect (unless cancelled, reset, or overridden) for the duration of an entire ENFORM
session. ENFORM requires the LIST and FIND statements to be terminated with a
semicolon. The other ENFORM statements should be terminated with a semicolon
since ENFORM does not report errors until it encounters either a terminating
semicolon or the beginning of a new statement.
Refer to Section 4 for the syntax of the ENFORM statements.

Clauses

Clauses are optional elements of ENFORM statements. With the exception of the
option variable clauses and the system variable clauses, ENFORM clauses only apply
to the LIST or FIND statement of which they are a part.
Some of the operations performed by ENFORM 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.
Refer to Section 5 for the syntax of the ENFORM 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 Tandem text editor without leaving ENFORM.
Compile a program and save it in a compiled query file.
Compile and execute an EDIT file containing source code.
Execute a compiled query file.
Include part of an EDIT file in the input to ENFORM.
Display information about the current ENFORM environment.
Refer to Section 6 for the syntax of the ENFORM commands.
058057 Tandem Computers Incorporated
ENFORM Language Elements
Commands
3–5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents