From: utzoo!decvax!ucbvax!info-vax Newsgroups: fa.info-vax Title: File-Exist ? Article-I.D.: ucbvax.7954 Posted: Thu Jul 8 11:12:20 1982 Received: Fri Jul 9 02:24:16 1982 >From buck@NRL-CSS Thu Jul 8 11:13:05 1982 The INQUIRE statement will do the job. The statement INQUIRE(FILE=filename,EXIST=ex) where filename is a character variable or string, and ex is a logical variable, will set ex true if the file exists and false if not. Note that INQUIRE is a statement, not a function (like OPEN). See section 9.3 of the VAX-11 FORTRAN manual (April 1980) for more details.