Chapter Contents

Previous

Next
FILEEXIST

FILEEXIST



Verifies the existence of an external file by its physical name and returns a value

Language element: function
Category: external-file
OpenVMS specifics: valid values for file-specification


Syntax
Details
See Also

Syntax

FILEEXIST("filename")

"file-specification"
specifies a fully qualified physical filename of an OpenVMS file. The value for file-specification must be enclosed in single or double quotation marks.


Details

The FILEEXIST function returns a value of 1 if the external file exists and a value of 0 if the external file does not exist.

You must always use fully qualified physical names with the FILEEXIST function.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.