z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


D—delete a file

z/OS ISPF User's Guide Vol II
SC19-3628-00

The D (delete file) line command can be entered against any directory entry. If entered against a file or an empty directory and the Confirm File Delete option is selected, the Confirm Delete panel is displayed. This panel allows the delete operation to be canceled if necessary using the CANCEL or EXIT commands. You can prevent this panel being displayed for subsequent delete operations by selecting the "Set file delete confirmation off" option.

If the deletion proceeds successfully, the file or directory is removed from the file system.

If the D line command is entered against a directory containing files and subdirectories and the Confirm Non-empty Directory Delete option is selected, the Confirm Non-empty Directory Delete panel is displayed. This panel allows the delete operation to be canceled if necessary using the CANCEL or EXIT commands. You can prevent this panel being displayed for subsequent delete operations by selecting the "Set non-empty directory delete confirmation off" option.

If the deletion proceeds successfully the directory, including all contained files and subdirectories, is removed from the file system.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014