From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,bbfdc414dc59dfb6,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,bbfdc414dc59dfb6,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-09 17:33:11 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!uunet!mailgate.mobil.com!dlpcbc!awful!lerami!dalsil!sil.org!titus Newsgroups: comp.sys.dec,comp.os.vms Subject: How do I force a VMS process to make a "clean" exit? Message-ID: <1994Jun9.091801.262@sil.org> From: titus@sil.org (Mike Titus) Date: 9 Jun 94 09:18:00 CDT Reply-To: mike.titus@sil.org Distribution: world Organization: Summer Institute of Linguistics Nntp-Posting-Host: theta.sil.org X-Newsreader: mxrn 6.18-16 Xref: nntp.gmd.de comp.sys.dec:16038 comp.os.vms:48119 I want to be able to stop a process under VMS from the command line, but I want to have it call its exit handlers so that I don't leave "artifacts" (e.g.--open files, locks); I think sending the process a $FORCEX will do the trick. Does the "STOP " command do that, or should I issue some other command? The documentation in the VMS User's Manual isn't clear on this one. If it doesn't, does someone have some code in C to do this? Please reply to either comp.sys.dec or comp.os.vms. Thanks for the help. (I usually work in a 4GL, and haven't written much "real code" under VMS--MACRO forever! ;-) ) -- * * * * * * * * * * * * * * * * * Mike Titus, Programmer * Internet SIL * Fax: (214) 709-3387 7500 West Camp Wisdom Road * Voice: (214) 709-2400 Dallas, Texas 75236-5699 * BOOT/OPERATOR/DEVICE=CCA0: !Coffee Cup