You can also load KB files that are located in other directories. When structuring your KB directories in this way, you might want to specify a module search path. A module search path is a list of directories that G2 searches to find the KB file containing a directly required module.
-module-search-path option in the command line that launches the G2 process. Specify a list of directory paths as the argument to this option.
G2_MODULE_SEARCH_PATH environment variable (or VMS logical). Specify a list of directory paths as its value.
-module-search-path command-line option and in the G2_MODULE_SEARCH_PATH environment variable, to specify more than one directory, enclose the list of directories in double quotes. Include a blank space character between the directory pathnames.
-module-search-path command-line option is described under module-search-path. # Start G2 and specify two directories in its
# module search path
g2 -module-search-path "/dev/g2-mods/ /usr/kmm/g2-mods"
OR ...
# Start G2 and specify two directories in its
# module search path
setenv G2_MODULE_SEARCH_PATH "/g2-mods/ /usr/kmm/g2-mods"
g2
Directly-required-modules attribute in that KB's Module Information system table refers to other KBs.