Functions and CALL Routines under UNIX |
Deletes an external file or an empty directory.
Category: |
External Files
|
UNIX specifics: |
fileref
can be assigned with an environment variable
|
See: |
FDELETE Function in
SAS Language Reference: Dictionary
|
-
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. See the UNIX man page for chmod
for more information about permissions.
Under UNIX, fileref can
also be an environment variable. The fileref
must be enclosed in double quotation marks.
FDELETE returns 0 if the operation was
successful, or a nonzero number if it was not successful.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.