From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,bbfdc414dc59dfb6 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,bbfdc414dc59dfb6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-10 06:05:21 PST Newsgroups: comp.sys.dec,comp.os.vms Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!warwick!bsmail!siva.bris.ac.uk!tjl From: tjl@siva.bris.ac.uk (Tim Llewellyn) Subject: Re: How do I force a VMS process to make a "clean" exit? Message-ID: Sender: tjl@brspva.bristol.ac.uk (Tim Llewellyn) Nntp-Posting-Host: siva.bris.ac.uk Reply-To: Tim.Llewellyn@bristol.ac.uk Organization: Bristol University HEP X-Newsreader: mxrn 6.18-4 References: <1994Jun9.091801.262@sil.org> Date: Fri, 10 Jun 1994 13:02:14 GMT Xref: nntp.gmd.de comp.sys.dec:16043 comp.os.vms:48152 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 " 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 |> |> -- -----------------------------------------------------+------------------+ 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.