INDTXT (Indicator Text) keyword in printer files

Use this file-, record-, or field-level keyword to associate descriptive text (indicating intent or use) with a specific indicator. You can specify INDTXT once for each indicator.

The format of the keyword is:

INDTXT(indicator 'indicator-text')

If you specify the INDTXT keyword, indicator-text is a required parameter value. Indicator use text must be a character constant and must be enclosed in single quotation marks. If the length of the text is greater than 50 characters, the high-level language compiler only uses the first 50 characters.

Option indicators are not valid for this keyword.

Note: This specification by itself does not cause the specified indicator to appear in the output record area. The specification merely provides text to be associated with the indicator. If you do not specify the indicator elsewhere, the text is lost without a diagnostic. Also, after an indicator is given a textual assignment (either by this keyword or the response indicator text), no other textual assignment is made.

Example

The following example shows how to specify the INDTXT keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A                                      INDTXT(02 'Alternate month')
00020A          R MASTER
00030A            MTH                   2 10
00040A  02        ALTMTH                2 10
00050A
     A

The INDTXT keyword describes the use of option indicator 02. In a compiler listing for a high-level language, 'Alternate month' is printed as a comment with the description of indicator 02.