putta

Synopsis

void putta(string)
void putta(string, set)

Description

The putta command writes the factbase currently in memory to a Tuple Attribute (TA) file. The first (and sometimes only) argument - a string - should contain the pathname of TA 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 already exists, it is overwritten. If the file does not exist, it is created; putta will not create new directories, however.

The second form of the command allows you to select what relations you want to save, by providing a set containing a list of relations. 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 appenddb appendta getGXL getdb putdb read