| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (22 out of 48)

kb

Directs the new G2 process to load the specified KB file as the new current KB.

Platforms

All platforms

Syntax

kb-file-path: Location and name of a KB file.

Equivalent Environment Variable

None

Description

If you include the -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.

Special Considerations

If the -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.

Example

This command starts a new G2 process, which also loads the file /usr/kmm/factory-monitor.kb as its new current KB:

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (22 out of 48)

Copyright © 1997 Gensym Corporation, Inc.