COLHDG (Column Heading) Keyword for Physical and Logical Files

Use this field-level keyword to specify column headings used as a label for this field by text management, the query utility, the data file utility (DFU), and the screen design aid (SDA).

The format of the keyword is:

COLHDG('line-1' ['line-2' ['line-3']])

A maximum of three lines of 20 characters each is allowed. Each line of the column heading must be enclosed in apostrophes. Use double apostrophes (' ') to specify apostrophes within column headings. Use one or more blanks to separate the first column heading line from the second and the second from the third.

For a physical file, if you do not specify COLHDG and it is not retrieved from a referenced field, the field name is used. If you do not specify COLHDG for a logical file, the column heading from the physical file is used, except when the field is a concatenation of fields; in this case, the default is the field name.

If you specify COLHDG but do not specify TEXT, 50 positions of column heading information are used as text. For example, COLHDG('Order' 'Date') is equivalent to TEXT('Order Date').