ENFORM Reference Manual

LIST Statements
Statements
4–32 058057 Tandem Computers Incorporated
UNIQUE
prevents identical records from contributing to the report. UNIQUE adds
processing overhead and should not be used unless undesirable duplicate records
are known to exist.
by-item
is the name of a field modified by a BY or a BY DESC clause. ENFORM sorts and
groups the report according to the value of this field. You cannot specify more
than 63 by-items in your query.
target-item
is a record name, a field name, a literal, a predefined aggregate, a user aggregate,
an arithmetic expression, an IF/THEN/ELSE expression, a user table name, a user
variable, or a system variable clause.
user-var-name
is the name of a user variable.
string-literal
is one or more alphanumeric characters enclosed within quotation marks.
display-format
is the format in which you want an element displayed.
/
is a symbol that is equivalent to the SKIP clause. You can specify as many of these
symbols as you want to indicate the number of lines to advance.
logical-expression
is an expression returning a true or false value.
print-list
contains any combination of literals, FORM, SKIP, SPACE or TAB clauses. A
print-list can also contain the following elements that can be modified by AS, AS
DATE, or AS TIME clauses: field names, arithmetic expressions, IF/THEN/ELSE
expressions, system variable clauses, JULIAN-DATE clauses, TIMESTAMP-DATE
clauses, TIMESTAMP-TIME clauses, user variables, and parameter names.