You can use dynamic program calls to call OPM, EPM or ILE programs. Unlike OPM and EPM programs, ILE programs are not limited to using dynamic program calls. ILE programs can use static procedure calls or procedure pointer calls to call other procedures.
A dynamic program call is a special form of procedure call; it is a call to the program entry procedure. A program entry procedure is the procedure designated at program creation time to receive control when a program is called. In other words, calling a program entry procedure is the same as calling another program's main() function.
When dynamic program calls are executed, the called program's name is resolved to an address at run time, just before the calling program passes control to the called program for the first time.
Dynamic program calls include calls to:
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.