delete-file

delete-file


delete-account Index Level delete-index
Syntax delete-file file.reference {(option}
delete-file data file.reference{, file.reference} {(option}
Category TCL
Type Verb
Description releases all frames used by the specified file to the overflow table, and removes the file.reference from the master dictionary of the current account.

Synonym-defining items ("q-pointers") may not be deleted with this command. The account must possess the actual "d-pointer" to a file to be able to delete the file.
Options u  Unconditionally deletes the file, even if it is open at the time of the delete.
See Also df create-file rename-file files move-file delete delete-account CLOSE clear-file file control block BEGIN WORK
Example delete-file temp

This deletes the dictionary and all data sections from the "temp" file.

delete-file data temp

This deletes the "temp" data section from the "temp" dictionary, leaving the dictionary and any other data sections connected to the "temp" dictionary intact.

delete-file customers,temp

This deletes the "temp" data section from the "customers" dictionary.
Warnings The dict (dictionary) level may not be deleted without first deleting any data sections that it may have pointers to.
Compatibility D3 7.0 AP R83
delete-account Index Level delete-index