UNCONDITIONABLE OPERATION CODES


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.

Table 5.3: Operation Codes That Do Not Support Conditioning 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.




The Modern RPG IV Language
The Modern RPG IV Language
ISBN: 1583470646
EAN: 2147483647
Year: 2003
Pages: 156
Authors: Robert Cozzi

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net