Module Replaced by a Module with More Imports
Module Replaced by a Module with More Imports
Module Replaced by a Module with More Imports
If a module is replaced by a module with more imports, the program object or service program can be updated if those extra imports are resolved, given the following:
- The existing set of modules bound into the object.
- Service programs bound to the object.
- Binding directories specified on the command. If a module in one of these binding directories contains a required export, the module is added to the program or service program. If a service program in one of these binding directories contains a required export, the service program is bound by reference to the program or service program.
- Implicit binding directories. An implicit binding directory is a binding directory that contains exports that may be needed to create a program that contains the module. Every ILE compiler builds a list of implicit binding directories into each module it creates.
If those extra imports cannot be resolved, the update operation fails unless OPTION(*UNRSLVREF) is specified on the update command.