![]() ![]() |
|
CLEAR-FILEThe jBASE CLEAR-FILE command allows the user to clear all records from the dictionary file or data section files.
COMMAND SYNTAXCLEAR-FILE {DICT|DATA} filename{,section}
SYNTAX ELEMENTSfilename is the name the file to be cleared. The file type must be one of the supported jBASE file types. If the file type supports separate data and dictionary files, the DICT keyword may be used to clear the dictionary file. section is the name of the data section to be cleared.
NOTESCLEAR-FILE will always clear all records from the specified file. To clear a selection of records use DELETE. If jchmod has been used to modify how jBASE handles a directory then a file called .jbase_header is created to hold the parameters specified by the jchmod command. If CLEAR-FILE is used on a directory, the contents of the directory are deleted but the .jbase_header file is left intact.
EXAMPLES
Clears the default data file, File1.
Clears the dictionary file, File1]D. |