Previous Page | Next Page

Functions and CALL Routines under OpenVMS

FDELETE Function: OpenVMS



Deletes an external file or an empty directory.
Category: External Files
OpenVMS specifics: Valid values for directory
See: FDELETE Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

FDELETE('fileref')

fileref

specifies the fileref that you assign to the external file or directory you want to delete. The fileref cannot be associated with a list of concatenated filenames or directories. If the fileref is associated with a directory, the directory must be empty. You must have permission to delete the file or directory.

Under OpenVMS, filerefs can be assigned by environment variables and by system commands. The fileref must be enclosed in single or double quotation marks.


Details

FDELETE returns 0 if the operation was successful, or a non-zero number if it was not successful.

Previous Page | Next Page | Top of Page