# Hercules Version 3: System Messages: HD - Hercules Dynamic Loader

This page describes the Dynamic Loader messages for the Hercules S/370, ESA/390, and z/Architecture emulator.

### Messages

`HHCHD001E registration alloc failed for entry`
  Meaning
    Storage could not be obtained to register entrypoint `entry`
  Issued by
    hdl.c, function hdl_fent
`HHCHD002E cannot allocate memory for DLL descriptor: error`
  Meaning
    Initialisation of the dynamic loader environment failed due to the error described by `error`.
  Action
    Correct the error and restart Hercules.
  Issued by
    hdl.c, function hdl_main
`HHCHD003E unable to open hercules as DLL: error`
  Meaning
    The main hercules load module could not be opened by the dynamic loader. The dynamic loader error is described by `error`
  Action
    Correct the error and restart Hercules.
  Issued by
    hdl.c, function hdl_main
`HHCHD004I No initializer in module: error`
  Meaning
    The initializer in DLL named `module` could not be found. The error is described by `error`
  Action
    Correct the error and restart Hercules.
  Issued by
    hdl.c, function hdl_main
`HHCHD005E module already loaded.`
  Meaning
    An attempt was made to load an already loaded module.
  Action
    Unload to module first.
  Issued by
    hdl.c, function hdl_load
`HHCHD006S cannot allocate memory for DLL descriptor: error`
  Meaning
    Initialisation of the dynamic loader environment failed due to the error described by `error`.
  Action
    Correct the error and restart Hercules.
  Issued by
    hdl.c, function hdl_load
`HHCHD007E unable to open DLL module: error`
  Meaning
    The DLL named `module` could not be opened. The error is described by `error`.
  Action
    Ensure that the correct module is specified and is accessible.
  Issued by
    hdl.c, function hdl_load
`HHCHD008I No initializer in module: error`
  Meaning
    The initializer in DLL named `module` could not be found. The error is described by `error`
  Action
    Correct the error and restart Hercules.
  Issued by
    hdl.c, function hdl_load
`HHCHD009E module not found`
  Meaning
    An attempt was made to unload a module that was not loaded.
  Action
    No action required.
  Issued by
    hdl.c, function hdl_dele
`HHCHD010I Dependency check failed for module, version(vers_actual) expected(vers_exp)`
  Meaning
    The version of the module's required dependency does not match the version of the dependency in the module that contains the dependency.
  Action
    No action required.
  Issued by
    hdl.c, function hdl_dchk
`HHCHD011I Dependency check failed for module, size(size_actual) expected(size_exp)`
  Meaning
    The size of the module's required dependency does not match the size of the dependency in the module that contains the dependency.
  Action
    No action required.
  Issued by
    hdl.c, function hdl_dchk
`HHCHD012E No depency section in module: error`
  Meaning
    The module being loaded does not contain the required dependency section. The error is described by `error`.
  Action
    Rebuild the module with the required HDL_DEPENDENCY_SECTION defined.
  Issued by
    hdl.c, function hdl_main
`HHCHD013E No depency section in module: error`
  Meaning
    The module being loaded does not contain the required dependency section. The error is described by `error`.
  Action
    Rebuild the module with the required HDL_DEPENDENCY_SECTION defined.
  Issued by
    hdl.c, function hdl_load
`HHCHD014E Dependency check failed for module module`
  Meaning
    One or more required dependencies were not satisfied. The preceding HHCHD010I and/or HHCHD011I message(s) identifies which of the dependencies failed and the reason why.
  Action
    If the module was not loaded, rebuild the module using the same version of the required dependency as the module that contains the dependency and try again.
  Issued by
    hdl.c, function hdl_load
`HHCHD015E Unloading of module not allowed`
  Meaning
    An attempt was made to unload a module that was not allowed to be unloaded.
  Action
    No action required.
  Issued by
    hdl.c, function hdl_dele
`HHCHD018I Loadable module directory is dir`
  Meaning
    The default loadable module directory was manually changed to dir via either a supplied `MODPATH` configuration file statement or via the `-d` command-line option.
  Action
    None required. This is an informational-only message.
  Issued by
    hdl.c, function hdl_setpath
`HHCHD100I Loading module ...`
  Meaning
    Module `module` is being loaded.
  Action
    No action required
  Issued by
    hsccmd.c, function ldmod_cmd
`HHCHD101I Module module loaded`
  Meaning
    Module `module` has been loaded.
  Action
    No action required
  Issued by
    hsccmd.c, function ldmod_cmd
`HHCHD102I Unloading module ...`
  Meaning
    Module `module` is being unloaded.
  Action
    No action required
  Issued by
    hsccmd.c, function rmmod_cmd
`HHCHD103I Module module unloaded`
  Meaning
    Module `module` has been unloaded.
  Action
    No action required
  Issued by
    hsccmd.c, function rmmod_cmd

If you have a question about Hercules, see the Hercules Frequently-Asked Questions page.

Last updated $Date$ $Revision$