RPG Cycle and other implicit Logic

The ILE RPG compiler supplies part of the logic for an RPG program.
  • For a cycle-main procedure, the compiler supplies the program cycle; the program cycle is also called the logic cycle or the RPG cycle
  • For a subprocedure or linear-main procedure, the compiler supplies the initialization and termination of the subprocedure.