[mod.computers.vax] Process dumps

barach@BBNCC3.ARPA (Dave Barach) (01/03/86)

Does anyone out there know how to do the equivalent of "SET PROCESS/DUMP" from
a program?  I'd like to distribute certain program images to our customers set
up so that they'll generate dumps if they become ill. [The images in question
run as subprocesses...]

Replies to :

Dave Barach, aka "dbarach@bbn"

BBN Communications Corp. 
50 Moulton St.
Cambridge MA 02238 (617) 497-3884

info-vax@ucbvax.UUCP (01/04/86)

> Does anyone out there know how to do the equivalent of "SET PROCESS/DUMP" from
> a program?  I'd like to distribute certain program images to our customers set
> up so that they'll generate dumps if they become ill. [The images in question
> run as subprocesses...]

I'm not sure how you might do this from within the process in question,
but while glancing through the $CREPRC doc yesterday, I remember seeing
that there is a process status flag you can set so the process you create
has process dumping enabled.  If your subprocesses are being created by
another part of your application with $CREPRC, that at least might get
you what you want.

	/Kevin Carosso                   engvax!kvc @ CIT-VAX.ARPA
	 Hughes Aircraft Co.

egisin@watmath.waterloo.edu.UUCP (01/27/87)

what is the equivalent of "run /dump" when using sys$creprc?

how do I get a detached process to dump?
I had the following code in my condition handler:
	if (severe_error)
		return (SS$_RESIGNAL);
but I didn't get a dump when I signaled a fatal error.

	Eric Gisin, University of Waterloo
	InterNet [CSNet]: egisin@Math.Waterloo.EDU
	UUCP: watmath!egisin		BITNET: EGISIN@WATACO