IBM AS/400 Frozen Dessert Maker User Manual


 
A Strategy to Avoid
Job
CL
*PGM(X)
RPG
RPG
*PGM(Y)
*SRVPGM(Z)
Default Activation Group
QILE Activation Group
Figure 11. Scenario to Avoid. An application is split between the OPM default activation
group and a named activation group.
When split across the default activation group and any named activation group, you
are mixing OPM behavior with ILE behavior. For example, programs in the default
activation group may be expecting the ILE programs to free their resources when
the program ends. However, this will not occur until the activation group ends.
Similarly, the scope of overrides and shared ODPs will be more difficult to manage
when an application is split between the default activation group and a named one.
By default, the scope for the named group will be at the activation group level, but
for the default activation group, it can be either call level or job level, not activation
group level.
32 ILE RPG for AS/400 Programmer's Guide