Heading, detail and total output is allowed only in a cycle module. Defaults to E.
20
Cause . . . . . : The RPG Program Cycle is not in effect when a MAIN or NOMAIN keyword is specified on the Control specification, so only exception output specifications are allowed. Exception output is assumed.
Recovery . . . : Remove the heading, detail or total output specification, or remove the MAIN or NOMAIN keyword from the Control specification. Compile again.