ENFORM Reference Manual
4 Statements
058057 Tandem Computers Incorporated 4–1
This section contains the syntax of the ENFORM statements. The statements are
arranged in alphabetical order to provide ease of access.
The ENFORM statements, with the exception of the LIST and FIND statement, have a
session-wide affect unless cancelled or overridden. The LIST and FIND statements
effect only the queries of which they are a part.
The AT END, AT START, FOOTING, SUBFOOTING, SUBTITLE, and TITLE
statements apply only to queries containing a LIST statement. These statements
supply information to be printed in a report.
The LIST and FIND statements must be terminated with a semicolon. The other
ENFORM statements should be terminated with a semicolon. ENFORM neither
executes the statement nor reports any syntax errors until it encounters either a
terminating semicolon or the keyword indicating the start of the next statement;
therefore, if you enter a ?SHOW command after a statement without a terminating
semicolon, the effect of the statement is not shown in the output produced by the
?SHOW command.
Table 4-1 shows the ENFORM statements and their functions.
Table 4-1. Summary of Statements
Information Selection
Statement Function
LIST specifies the information selected for a report and prints the report.
FIND specifies the information retrieved from the data base and either writes the
information to a physical file or transmits the information to a host language
program.
Query Environment
Statement Function
CLOSE deletes a user variable, aggregate, or table, a parameter, or a record description
from the internal table.
DECLARE defines a user variable, user aggregate, or user table.
DELINK clears a connecting relationship between record descriptions.
DICTIONARY identifies the subvolume containing a dictionary. It also clears the internal table
and reclaims table space.
EXIT terminates the current ENFORM session.
LINK specifies a connecting relationship between record descriptions.
OPEN accesses a record description.
PARAM names and defines a parameter that can receive a value from a Command
Interpreter PARAM command.
SET initializes a user variable, user table, or a parameter and resets option variables.