Positions 7-8 (Control Level)

Entry
Explanation
Blank
The calculation operation is done at detail calculation time for each program cycle if the indicators in positions 9 through 11 allow it; or the calculation is part of a subroutine. Blank is also used for declarative operation codes.
L0
The calculation operation is done at total calculation time for each program cycle.
L1-L9
The calculation operation is done at total calculation time when the control level indicator is on. The indicator is set on either through a level break or as the result of an input or calculation operation.
LR
The calculation operation is done after the last record has been processed or after the LR indicator has been set on.
SR
The calculation operation is part of an RPG IV subroutine. A blank entry is also valid for calculations that are part of a subroutine.
AN, OR
Indicators on more than one line condition the calculation.


[ Top of Page | Previous Page | Next Page | Contents | Index ]