Functions and CALL Routines under UNIX |
Category: | External Files |
UNIX specifics: | fileref can be assigned with an environment variable |
See: | FDELETE Function in SAS Language Reference: Dictionary |
Syntax | |
Details |
Syntax |
FDELETE("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.
Details |
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.