DBDEL (Databank)

Options    Example

DBDEL deletes one or more variables from a TSP databank.

DBDEL (COMPRESS) <filename> <list of variables> ;

Usage

Supply the filename and one or more variable names to delete. This is a way of getting rid of variables which were put in the databank by mistake, or which are no longer needed. It can also be used to crudely rename variables in a databank, if the variables are first copied to the new names and then the old names are deleted. An alternative for small databanks would be to use the DBCOPY command, and then use a text editor on the .TSP file to delete, rename, or generally edit variables and DOCumentation.

Options

COMPRESS/NOCOMPRESS compresses the databank after the variables are deleted. This is the same operation as the DBCOMP command; the space formerly used by the variables is recovered for use by other files.

Example

Suppose that you have a databank called FOO.TLB which contains two time series X and Y, and a parameter B. The command

DBDEL FOO X;

would delete the series X from the databank.