Behavior of Bound ILE RPG Modules

In ILE RPG, the cycle-main procedure is the boundary for the scope of LR semantics and the RPG cycle. The module is the boundary for the scope of open files.

In any ILE program, there may be several RPG cycles active; there is one RPG cycle for each RPG module that has a cycle-main procedure. The cycles are independent: setting on LR in one cycle-main procedure has no effect on the cycle in another. An RPG module which has a linear-main procedure or has no main procedure does not use the RPG cycle; nor will it effect the cycle in another module.



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