ENFORM Reference Manual

AS Clause
Clauses
058057 Tandem Computers Incorporated 5–7
AS Clause The AS clause specifies a display format for printing a target-item or by-item. The
syntax of the AS clause is:
report-item AS
report-item AS
report-item AS
[ nonrepeatable-edit-descriptors ]
repeatable-edit-descriptors
" "[" [ decorations,… ] [ modifiers,… ] "]"
repeatable-edit-descriptors "
" "[" [ decorations,… ] [ modifiers,… ] "]"
( nonrepeatable-edit-descriptors
repeatable-edit-descriptors ) "
report-item
is either a by-item or a target-item.
nonrepeatable-edit-descriptors
specify some general ways report-items are to be printed. Nonrepeatable-edit-
descriptors should not be specified without a repeatable-edit-descriptor.
Nonrepeatable-edit-descriptors are:
n
P multiplies value by 10**n, n is an integer.
S,SP,SS for control of plus (+) sign printing.
repeatable-edit-descriptors
specify data conversion to the GUARDIAN Formatter for printing the report-item
values. Valid values for repeatable-edit-descriptors are:
A [
w
] for alphanumeric values.
I
w
[ .
m
] for integer values.
F
w
.
d
[ .
m
] for fixed point values.
M
mask
for a template to combine literals and values.