putdb

Synopsis

void putdb(string)
void putdb(string, set)

Description

The putdb command writes the factbase currently in memory to a Rigi Standard Format (RSF) file. The first argument - a string - should contain the pathname of the RSF factbase to write to. The pathname must be either relative from the current directory, or absolute. Tilde expansion or other shell-like expansions are not performed on the pathname string. If the specified file exists, it is overwritten. If the file does not exist, it is created; appenddb will not create new directories, however.

An optional second parameter may contain the set of relation names you would like to be written. Only relations which exist and have their names listed in the provided set are saved to the file. Note that only relations and attributes (which are merely special relations) are saved. Sets and scalar variables like integers and strings are not.

See Also

getta putta appenddb appendta getGXL getdb read