rpg flow
TRANSCRIPT
-
8/18/2019 Rpg Flow
1/1
START
Read a record
from the file lastprocessed (at
start, read a
record fromeach file)
Select record with highest
priority
Turn on record identifying
indicator
First cycle ?
EOF on all input
files ?
Are matching fields
specified ?
Control break ? Turn on level indicator(s)
Total calculations
LR on ?
OF on ?
Move data from input area to
fields
Is selected input
record a matching
record ?
Turn on
MR
Detail calculations
Turn off record identifying
indicator and all level
indicators
Total output
STOP
Overflow
output
Heading and
detail output
Yes
Turn off
MR
Yes
No
No
No
YesTurn on LR and level
indicators L1 through L9
No
Yes
No
Yes
No
Yes
No
NextColumn
Next
Column
RPG Logic Flow
Yes