DELETE-FILE

Deletes a file.

Command Class

TCL-I command

Syntax

DELETE-FILE file-specifier

Syntax Elements

file-specifier is the file to be deleted.

Restrictions

You cannot delete a dictionary file until you have deleted its associated data sections. SYS1 privileges are required to execute DELETE-FILE.

You cannot delete an encrypted file unless your security profile gives you access to the encryption key.

Comments

Caution

Ensure that the file you want to delete is not open elsewhere or GFEs may occur.

Do not a 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.

Go to top button