tcl.delete-file Verb: Access/TCL

tcl.delete-file

Command tcl.delete-file Verb: Access/TCL
Applicable release versions: AP, R83
Category TCL (746)
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.
Syntax delete-file file.reference {(option}
delete-file data file.reference{, file.reference} {(option}
Options u Unconditionally deletes the file, even if it is open at the time of the delete.
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.
Purpose
Related tcl.df
tcl.create-file
tcl.rename-file
files
tcl.move-file
tcl.delete
tcl.delete-account
basic.close
tcl.clear-file
file.control.block
basic.begin.work