Compiler Directives for RPG Programs and Modules
November 13, 2002 Ted Holt
Hey, Ted:
I would like to define a standard set of H specs for my RPG source members so that all will compile with the same options. However, some RPG source members are compiled as modules and others are compiled as standalone programs. This means I can’t include the DFTACTGRP and ACTGRP keywords in the standard H specs because RPG doesn’t allow them when compiling modules. Do you have any tips that will help me solve the problem?
|
— Tony
In V5R1 IBM added some new predefined compiler conditions that will help you solve this problem. The new conditions are