If you want to link modules dynamically at run-time, you have two choices:
To do this, disable Resolve external calls at link time (CALL) in your project properties and on the Micro Focus > Project Settings > Assembler Compiler > Auto-link Settings tab.
With NCAL set, the linker issues warnings that external references were not resolved and stores zero in each field holding the address of an external reference.
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.