5.51 MODPATH (Dynamic load module path)
5.51.1 Function
MODPATH specifies the path where dynamic load modules are loaded from. If a MODPATH statement is
coded then the path on the MODPATH statement 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.
5.51.2 Syntax
Descriptive
path
Diagram
path ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
5.51.3 Parameter
path
The path where dynamic load modules are loaded from.
5.51.4 Examples
Example 1:
Set the path from where dynamic load modules are loaded to “D:/HERCULES/MODIFICATIONS”.
MODPATH D:/HERCULES/MODIFICATIONS