HP RPG/XL Programmer's Guide (30318-90001)

1-7
Figure 1-3. The Primary Steps in the RPG Logic Cycle
Substeps in the RPG Logic Cycle
This section describes in detail each step of the RPG logic cycle
including when indicators are turned on and off. The substeps listed
below expand upon the primary logic steps discussed in the previous
section and they correspond to the steps shown on the HP RPG Logic Cycle
diagram (Figure 1-4) at the end of this chapter.
Substep Description
1 Pre-Cycle Processing
The operations in this step are performed once. They are not
part of the main cycle.
Record
Input
Heading and
detail-time
output
Detail-time
Calculations
Total-time
Operations
Total Time
Detail Time
Input Time
Pre-cycle
Installation and
Housekeeping
Control
break test
Record
Selection
Data
movement
1
2
3
4
5
8
6
7