Indicators

239 Views


An indicator is a one-byte character field that is either set on ('1') or off ('0').

It is generally used to indicate the result of an operation or to condition the processing of an operation.

Indicators are like switches in the flow of the program logic which determines the path of the program.

Indicators can be defined as variables on the definition specifications. We can also use RPG IV indicators like LR, 01, H3.

Indicator variables can be used any place as an indicator in the form of *INxx.  eg. *INLR, *IN01

Post Comments