Previous Page | Next Page

SAS Functions and CALL Routines under Windows

FDELETE Function: Windows



Deletes an external file or an empty directory.
Category: External Files
Windows specifics: fileref can be assigned by using an environment variable
See: FDELETE Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

FDELETE("fileref")

fileref

specifies the fileref that is assigned to the external file or directory. 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. Under Windows, fileref can be an environment variable. The fileref or the environment variable that you specify must be enclosed in quotation marks.


Details

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

Previous Page | Next Page | Top of Page