Diagram of the entities involved (the LLMs to be loaded are located in the library specified in the load call):
Figure 16: Stages involved in linking/loading a program/product
External references are resolved from left to right, i.e. the system searches the entities in the following sequence:
Link context (according to the ESD information in LLM); this is empty if the program is a standalone program (with /START-EXECUTABLE-PROGRAM)
User Shared Memory (= memory pools); a number of memory pools can be specified when /START-EXECUTABLE-PROGRAM is issued (default: deactivated)
(Pre-loaded) DSSM subsystems and other shared loaded programs (default: activated when /START-EXECUTABLE-PROGRAM is issued)
Reference context in memory: this is created dynamically during loading and is used to satisfy external references which could not be resolved in the link context
Library specified in the load call
alternative libraries (Altlibs) in the specified sequence.