IBM AS/400 Frozen Dessert Maker User Manual


 
ILE Application Using CRTRPGMOD
Job
Y Activation Group
CL *MODULE(Y1)
RPG *MODULE(Y2)
C *MODULE(Y3)
RPG *MODULE(Y4)
*PGM(Y)
Default Activation Group
*PGM(QUSCRTUS)
Figure 9. Mixed-Language Application
The call from program Y to the OPM API is a dynamic call. The calls among the
modules in program Y are static calls.
See “Effect of ILE” on page 26 for details on the effects of ILE on the way your
application handles calls, data, files and errors.
Advanced Application Scenario
In this scenario, you take full advantage of ILE function, including service programs.
The use of bound calls, used for procedures within modules and service programs,
provide improved performance especially if the service program runs in the same
activation group as the caller.
Figure 10 on page 31 shows an example in which an ILE program is bound to two
service programs.
30 ILE RPG for AS/400 Programmer's Guide