Use this file- or record-level keyword to associate descriptive text (indicating intent or use) with a specific response or option indicator.
INDTXT(response-or-option-indicator 'indicator-text')
You can specify this keyword once for each response and option indicator.
Indicator-text is a required parameter value, and must be a character string enclosed in single quotation marks. If the length of the string is greater than 50 positions, only the first 50 characters are used by the high-level language compiler. The text is used during compilation to help program documentation.
The INDTXT keyword does not cause the specified indicator to appear in either the input or output record area. It provides text to be associated with the indicator. Once an indicator has been given a textual assignment (either by this keyword or by the response indicator text), no other textual assignment is made. A message is issued and the keyword is ignored. This differs from other keywords that can have indicators specified as parameter values; for other keywords, only the text is ignored.
Option indicators are not valid for this keyword.
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 A
The INDTXT keyword describes the use of option indicator 02. In a compiler computer printout for a high-level language, alternate month is printed as a comment with the description of indicator 02.