Find Statement - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

FIND Statement

The FIND statement allows you to specify the input fields and records that contribute
to the target-record and either write output records to a physical file or transmit
output records to a host language program. The FIND statement must end with a
semicolon. The syntax of the FIND statement is:
FIND [ UNIQUE ] output-record-name
[ WHERE logical-expression ] ;
UNIQUE
is an option that prevents duplicate output records. UNIQUE adds processing
overhead and should be avoided unless you know unwanted duplicate records
exist.
output-record-name
is the name of the dictionary record description of the output record.
output-field-name
is the name of a field in the dictionary record description of the output record.
ENFORM allows you to qualify output-field-name. If you do not qualify output-
field-name, ENFORM qualifies output-field-name with output-record-name. In either
case, output-field-name must be sufficiently qualified to avoid ambiguity between it
and any other name specified in the query.
by-item
is an input field name. An input field name must be sufficiently qualified to avoid
ambiguity between it and any other name specified in the query. You cannot
specify more than 63 by-items for your query.
058057 Tandem Computers Incorporated
(
[ output-field-name := ]
FIND Statement
BY by-item
BY DESC by-item
target-item
ASCD target-item
DESC target-item
Statements
,... )
4–15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents