Although conditioning indicators should not be used to control RPG operations, there are groups of operations that cannot be conditioned with indicators. Table 5.3 lists these operations. Most of these operations tolerate, but are not affected by, control-level indicators. The BEGSR and ENDSR operations do not support control-level indicators.
Op Code | Description |
---|---|
ANDxx | Continuation of the IFxx, DOWxx, DOUxx, and WHENxx operations. |
BEGSR | Begin subroutine. |
DEFINE | Define variable; data area declaration. |
ELSE | Else operation of the IFxx operation. |
ENDIF | End IFxx. |
ENDCS | End CASxx. |
ENDSL | End SELECT. |
ENDSR | End subroutine. |
KFLD | Index key field declaration. |
KLIST | Index key list declaration. |
ORxx | OR continuation of the IFxx, DOWxx, DOUxx, and WHENxx operations. |
OTHER | Otherwise clause of a SELECT/WHEN case group. |
PARM | Parameter. |
PLIST | Parameter list. |
TAG | Target of a CABxx or GOTO operation. |
WHENxx | When compare clause of a select CASE group. |