Sign in

docs ILE Concepts

Module Replaced by a Module with More Exports

Module Replaced by a Module with More Exports

Module Replaced by a Module with More Exports

If a module is replaced by another module with more exports, the update operation occurs if all the extra exports are uniquely named. The service program export is different if EXPORT(*ALL) is specified.

However, if one or more of the extra exports are not uniquely named, the duplicate names may cause a problem:

  • If OPTION(*NODUPPROC) or OPTION(*NODUPVAR) is specified on the update command, the program object or service program is not updated.
  • If OPTION(*DUPPROC) or OPTION(*DUPVAR) is specified, the update occurs, but the extra export may be used rather than the original export of the same name.