Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 10
HEADING Clause
LN clause
specifies the locale associated with a value.
HEADING Clause Guidelines
The following points are guidelines for using the HEADING clause:
•
A slash within
report-heading
indicates a line break in an Enform 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
product or suppressed by the Enable or Pathmaker product.
HEADING Clause Examples
For Enform, a slash within a heading splits the heading onto the next line; for example:
DEF ordernum PICTURE X(3) HEADING "Order/Number" .
The heading is displayed as:
Order
Number
You could also use a named constant to get the same result:
CONSTANT ordernum-display VALUE "Order/Number".
DEF ordernum PICTURE X(3) HEADING ordernum-display.
The named constant must be in an open DDL dictionary.
The following is an example of the LN clause:
DEFINITION custnum PIC 9(4).
HEADING "Finnish"LN"fi_FI.ISO8859-1"
"Norwegian" LN"no_NO.ISO8859-1"
"Danish" LN"da_DK.ISO8859-1".