Indicator

An indicator is a two digit variable (01, 02, 03, ... 98, 99) to signal whether or not certain events have occurred during processing. Using indicators enables program events to control screen displays. These indicators are set 'on' or 'off' in one part of the program while their status is referenced in another part of the program. By setting the indicators 'on' or 'off', you can associate fields with indicators to control whether or not a field will appear on the screen.

Depending on the DDS file type you can use multiple indicators to condition events. For example, you can use indicators to select fields to display different data on different output operations instead of defining a different record format for each combination of fields. The indicators will keep track of what is occurring within the program by the condition that is described.

Note:
Indicators can only be described in device files.