1 DELETE The Delete command serves 2 purposes: o Delete files by File-id o Delete complete directories and directory trees very fast Deleting files by file id's (with the /FILE qualifier) can be useful in removing files which are no longer in a directory (e.g. files marked for delete). Deleting a directory (with the /DIRECTORY qualifier) is many times faster than the normal DCL delete command, especially for large directories. The /TREE qualifier can be used to delete a complete directory tree with just one command. The /FILE and /DIRECTORY command cannot be combined. Syntax : DELETE device/FILE=file-id DELETE full-directory-file-name /DIRECTORY(/Qualifiers) 2 Qualifiers /DIRECTORY This qualifier directs DFU to delete the complete contents of the specified directory, followed by a delete of the directory file itself. See also the /TREE qualifier. The parameter must specify a full directory file name. Wildcards may be used. Examples : DFU> DELETE mydisk:[000000]gone.dir/DIRECTORY gone.dir will be deleted with its contents. DFU> DELETE/DIRECTORY mydisk:[maindir.subdir]removethis.dir removethis.dir will be deleted with its contents. /FILE /FILE=file-id The full 3 number file-id of the file to be deleted. In combination with the required device parameter this results in a unique file. To avoid possible errors a full file id is required. Example : DFU> DELETE mydisk/FILE=(234,567,1) /KEEP /KEEP /NOKEEP (default) Used with DELETE/DIRECTORY(/TREE). This qualifier directs DFU to delete the contents of the directory(tree) but to preserve the directory files. /LOG /LOG (default) /NOLOG This qualifier is used only with the /DIRECTORY qualifier. Default DFU will report each deleted file. This can be suppressed with /NOLOG. /NOREMOVE /NOREMOVE /REMOVE (default) This qualifier can only be used with /FILE. Default DFU will also try to remove the file from the parent directory. For lost or marked-for-delete files this is not possible, and the DELETE command will probably fail. The /NOREMOVE qualifier will override the default behavior. /STATISTICS /STATISTICS /NOSTATISTICS (default) Controls whether CPU and I/O consumption of the command are shown. /TREE This qualifier is only used in combination with /DIRECTORY. Starting with the specified directory all (sub)directory contents and all (sub)directory files will be deleted.