-kb kb-file-path
-kb option in a command line that starts G2, after the new G2 process starts up, G2 loads the file specified by kb-file-path as its new current KB. If you do not specify the directory in which the file is stored, G2 looks for the file in the directory from which G2 was launched. If you do not supply a filename extension in kb-file-path, G2 assumes that the extension is
.kb. If the
-start option is present on the command line, the new G2 process also starts the new current KB.
-init option is specified in the command line, the new G2 process ignores the -kb option. If the file
NOCMD.KB is stored in the root directory (that is, in the directory / on UNIX platforms, the directory \ on Window NT platforms, or in the directory [000000] on VMS platforms), G2 checks whether the file name specified by kb-file-path is listed in NOCMD.KB. If
NOCMD.KB resides in the root directory, G2 loads a KB file only if its full pathname is listed there.
/usr/kmm/factory-monitor.kb as its new current KB:
g2 -kb /usr/kmm/factory-monitor.kb