Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!YALE.ARPA!LEICHTER-JERRY From: LEICHTER-JERRY@YALE.ARPA.UUCP Newsgroups: mod.computers.vax Subject: Clean deletions Message-ID: <8703140201.AA07284@ucbvax.Berkeley.EDU> Date: Fri, 13-Mar-87 21:01:38 EST Article-I.D.: ucbvax.8703140201.AA07284 Posted: Fri Mar 13 21:01:38 1987 Date-Received: Sat, 14-Mar-87 15:32:02 EST Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Distribution: world Organization: The ARPA Internet Lines: 19 Approved: info-vax@sri-kl.arpa in my logout procedure I delete all .JOU files. But if there are none I get an error message that there are no .JOU files. If you see the text "error..." on the screen you look at it even it isn't a "real" error. Is there a way to suppress the error message[?] Try: $ IF F$SEARCH("*.JOU;*) .NES. "" THEN DELETE *.JOU;* (In the general case, when all else fails, a $ SET MESSAGE/NOTEXT/NOSEVERITY/NOIDENT/NOFACILITY should turn off all error messages. You can use F$ENVIRONMENT() to pick up and save the previous message state.) -- Jerry -------