Previous Topic Next topic Print topic


Dynamic Linking

If you want to link modules dynamically at run-time, you have two choices:

We recommend that you also mark each module in this environment as reentrant and serially reusable, so that modules are not deleted and reloaded for each call.

To mark a module as reentrant:

To mark a module as serially reusable:

If you want to use static linking on a module that is normally dynamically linked, and its END statement names a default entry point for the module, you may need to provide an ENTRY command in the linker input file, .LIN, to override the default entry point. This is because the Linker, emulating the mainframe binder tool, sets the entry point for the entire executable program to the entry point named on the END statement of the final included module.

Previous Topic Next topic Print topic