Program access system
First Claim
1. A method for operating a digital computer such that calling programs included in a first load module can CALL a callable program included in a second load module, the method comprising:
- (a) linking the first load module;
(b) while linking the first load module, initializing a dummy entry point address for the callable program in the first load module;
(c) commencing execution of the first load module;
(d) upon the occurrence of a CALL from a calling program to the callable program when the callable program has not yet been loaded,(i) determining the name of the second load module in which the callable program is included;
(ii) loading the second load module;
(iii) determining the actual address of the callable program;
(iv) replacing said dummy entry point address with said actual address; and
(v) transferring control to the callable program at said actual address; and
(e) upon the occurence of a CALL from a calling program to the callable program after the callable program has been loaded, transferring control to the callable program at said actual address.
0 Assignments
0 Petitions
Accused Products
Abstract
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.
-
Citations
5 Claims
-
1. A method for operating a digital computer such that calling programs included in a first load module can CALL a callable program included in a second load module, the method comprising:
-
(a) linking the first load module; (b) while linking the first load module, initializing a dummy entry point address for the callable program in the first load module; (c) commencing execution of the first load module; (d) upon the occurrence of a CALL from a calling program to the callable program when the callable program has not yet been loaded, (i) determining the name of the second load module in which the callable program is included; (ii) loading the second load module; (iii) determining the actual address of the callable program; (iv) replacing said dummy entry point address with said actual address; and (v) transferring control to the callable program at said actual address; and (e) upon the occurence of a CALL from a calling program to the callable program after the callable program has been loaded, transferring control to the callable program at said actual address. - View Dependent Claims (2, 3, 4, 5)
-
Specification