Data Definition Language (DDL) Reference Manual

Definition Attributes
Data Definition Language (DDL) Reference Manual529431-004
6-9
HEADING
HEADING
The HEADING clause specifies a default field heading for values listed on Enform Plus
reports or displayed on screens generated by ENABLE and Pathmaker.
report-heading
is either a string of ASCII or national characters (enclosed in quotation marks) or
the name of a constant in the open dictionary. The value of the constant must be a
string of ASCII or national characters.
LN-clause
specifies the locale name for value (see LN on page 6-13).
A slash (/) within report-heading indicates a line break in an Enform Plus heading.
A slash within report-heading indicates a line break in a Pathmaker field only if the
item format is tabular. If the item format is compressed or uncompressed, a slash
within report-heading is replaced by a blank space.
If the HEADING clause is omitted for a field or group, the field or group name is the
default heading.
A heading specified in the DDL HEADING clause can be overridden by the Enform
Plus product or suppressed by the ENABLE or Pathmaker product.
Example 6-6 on page 6-9 and Example 6-7 on page 6-9 give the same result. The
named constant in Example 6-7 on page 6-9 must be in the open dictionary.
Note. The DDL compiler ignores this clause when generating host-language source code.
HEADING report-heading [ LN-clause ]...
Example 6-6. Multiline Heading in Enform Plus
HEADING Clause
DEF ordernum PICTURE X(3) HEADING "Order/Number" .
Heading Displayed
Order
Number
Example 6-7. Multiline Heading That Uses a Named Constant
CONSTANT ordernum-display VALUE "Order/Number".
DEF ordernum PICTURE X(3) HEADING ordernum-display.