Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!bellcore!ulysses!ucbvax!DDATHD21.BITNET!XBR1YD14 From: XBR1YD14@DDATHD21.BITNET (Reinhard Goeth - TH Darmstadt HRZ) Newsgroups: mod.computers.vax Subject: VMS - RMS question Message-ID: <8605102044.AA26968@ucbvax.Berkeley.EDU> Date: Sat, 10-May-86 16:44:40 EDT Article-I.D.: ucbvax.8605102044.AA26968 Posted: Sat May 10 16:44:40 1986 Date-Received: Mon, 12-May-86 21:01:34 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 13 Approved: info-vax@sri-kl.arpa I've a program (installed with SYSPRV) that creates a file on the directory of the account MAILER. After closing the file it is renamed and processed by the MAILER process. If my program is interrupted (because of an error or because someone pressed CONTROL/Y) while writing the file I'll get a file that's uselessm and must be deleted by the system manager. I've experimented with several RMS options (for example FAB$M_DLT, FAB$M_TMD, FAB$M_TMP) to get the file deleted if the program is interrupted but I'd no success. Either the file was not deleted after interrupting the program or the file was always deleted after closing it. Which RMS option can I use before/after $OPEN/$CONNECT/$PUT/$CLOSE ? Thanks Reinhard Goeth (TH Darmstadt Comp. Center)