Returning from a Main Procedure

A return from a main procedure causes the following to occur:

A cycle-main procedure returns control to the calling procedure in one of the following ways:

A description of the ways to return from a called cycle-main procedure follows.

For a detailed description of where the LR, H1 through H9, and RT indicators are tested in the RPG program cycle, see the section on the RPG program cycle in the IBM Rational Development Studio for i: ILE RPG Reference.



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