8.103 MODPATH (Display or set dynamic load module path)
8.103.1 Function
The MODPATH command displays or sets the dynamic load module path. If a MODPATH is defined then
this path is searched before the default path is searched. When a relative path is specified it is interpreted
as a relative path within the default search path. If an absolute path is coded it is interpreted as such.
The default MODPATH is “hercules” which means modules are loaded from the directory “hercules”
within the default LD_LIBRARY_PATH.
8.103.2 Syntax
Descriptive
[path]
Diagram
Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
path
8.103.3 Parameter
path
The path where dynamic load modules are loaded from.
8.103.4 Examples
Example 1:
Display the current dynamic load module path.
HHC00013I Herc command: 'modpath'
HHC01508I HDL: loadable module directory is 'D:/Hercules/'
Figure 194: MODPATH command (display dynamic load module path)