Enform Plus Reference Manual
Enform Plus Reference Manual—422684-001
4-1
4
Statements
This section describes the syntax of the Enform Plus statements. The statements are
arranged in alphabetic order to provide ease of access.
The Enform Plus statements, with the exception of the LIST and FIND statements, have
a session-wide affect unless canceled 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 Plus statements should be terminated with a semicolon. Enform Plus 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
lists the Enform Plus statements and their functions.
Table 4-1. Summary of Statements (page 1 of 2)
Information Selection
Statement Function
LIST Specifies the information selected for a report and prints the report.
FIND Specifies the information retrieved from the database 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 Plus 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 TACL
PARAM command.