Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.2 Online Documentation (MoTW) Revision 3
DELETE-FILE (TCL) (m604806+deletefile.htm)
Deletes a file or hyper file.
TCL-I command
DELETE-FILE file-specifier
file-specifier Specifies the file to be cleared, according to general conventions.
You cannot delete a dictionary file until you have deleted its associated data sections.
SYS1 privileges are required to execute
You cannot delete an encrypted file unless your security profile gives you access to the encryption key.
Caution
Ensure that the file you want to delete is not open elsewhere or GFEs may occur.
Do not a delete file that may contain GFEs. Instead, contact your support representative for assistance.
When you delete a file, all the information in the file is no longer accessible. The space that was used for that file is returned to overflow.
You have the choice of deleting one or more data sections only, or all data sections and the dictionary file.
Deleting the hyper file definition item (also known as an H-pointer or HPTR) for a hyper file will only delete the H-pointer, not the hyper sections. Note if the hyper sections are to be deleted then use the HYPER-REMOVE command with its HYPER-REMOVE hyper-file-name * syntax before deleting the H-pointer, to remove the update lock on the hyper sections.