摘要 |
A program access system that enables calling programs included in a first load module to CALL a callable program included within a second load module. The method of the present invention includes the steps of loading and commencing execution of the first load module, and upon the occurrence of a CALL from a calling program to the callable program, executing different steps depending on whether or not the callable program has already been loaded. When the callable program has not yet been loaded, the method includes the steps of determining the name of the second load module in which the callable program is included, loading the second load module, determining the actual address of the callable program, storing the actual address, and transferring control to the callable program at the actual address. Upon the occurrence of a CALL from a calling program to the callable program after the callable program has been loaded, the method includes the steps of transferring control to the callable program at the stored actual address.
|