From: utzoo!decvax!ucbvax!info-vax
Newsgroups: fa.info-vax
Title: Re: File-Exist ?
Article-I.D.: ucbvax.7947
Posted: Thu Jul  8 07:15:46 1982
Received: Fri Jul  9 01:52:43 1982

>From grubin@BBN-UNIX Thu Jul  8 07:17:13 1982
Assuming your question about file existence is asking about DCL level
functions:
Currently there is no function to check if a file exists. There are
various ways around this - using OPEN with the /ERROR  switch and
checking in the error  handler for the error code which is
file-not-found. COMING IN VMS 3.0 there IS a logical function
called F$SEARCH which CAN be used to check for file existence - so
if you can wait til your site puts up version 3.0 you will have what
you need.

>From a program, I guess you would use the RMS function SEARCH.

-- Gail Rubin, BBN