Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: tjl@siva.bris.ac.uk (Tim Llewellyn)
Subject: Re: How do I force a VMS process to make a "clean" exit?
Date: Fri, 10 Jun 1994 13:02:14 GMT	[thread overview]
Message-ID: <Cr6Mvr.52L@info.bris.ac.uk> (raw)
In-Reply-To: 1994Jun9.091801.262@sil.org


In article <1994Jun9.091801.262@sil.org>, titus@sil.org (Mike Titus) writes:
|>Xref: bsmail comp.sys.dec:15829 comp.os.vms:50966
|>
|>
|>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 <process>" 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?
|>

DCL stop does a $DELPRC, no a $FORCEX, so it is NOT what you want.
You need to write a program (or get one someone else wrote) to 
forcexit a process.

|>Mike Titus, Programmer     * Internet  <mike.titus@dallas.sil.org>

|>
|>
-- 
-----------------------------------------------------+------------------+
Tim Llewellyn - OpenVMS, Soukous and Cricket Addict  |Hey, and get wise |
Physicist Programmer, Bristol Uni Particle Physics.  | to the sounds of |
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk  |   Africa,seen.   |
I speak for me and noone else OK (and I might even   | Soukous  Makossa |
change my mind sometimes!-)                          | N'Dagga  Mbalax..|
-----------------------------------------------------+------------------+
Unix : A toy for those who enjoy re-inventing wheels,  or have no choice.


      reply	other threads:[~1994-06-10 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-09 14:18 How do I force a VMS process to make a "clean" exit? Mike Titus
1994-06-10 13:02 ` Tim Llewellyn [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox