TEXT (Text) keyword for physical and logical files

Use this record- or field-level keyword to supply a text description (or comment) for the record format or field that is used for program documentation.

The format of the keyword is:
TEXT('description')

The text must be enclosed in single quotation marks. If the length of the text is greater than 50 positions, only the first 50 characters are used by the high-level language compiler.

Note: If the TEXT keyword is specified for a logical file and no fields are specified, the text keyword for the physical file is used (if specified).

Example

The following example shows how to specify the TEXT keyword at the record and field levels.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R CUSMST                    TEXT('Customer Master Record')
00020A            FLD1           3  0       TEXT('ORDER NUMBER FIELD')
     A