1752806 Members
5844 Online
108789 Solutions
New Discussion юеВ

Re: Dump of a process

 
SOLVED
Go to solution
Mulder_1
Frequent Advisor

Dump of a process

How to get a dump of a process ?

set proc/id=208000AB/dump is working but cannot get the dump file in sys$login.

Thanks
3 REPLIES 3
Richard Whalen
Honored Contributor

Re: Dump of a process

For VMS V7 and later you can do SET PROC/ID=/DUMP=NOW to get the process to dump asap.
Jan van den Ende
Honored Contributor

Re: Dump of a process

Mulder,

to begin with:

WELCOME to the VMS forum!

Your question:

the dump is ALWAYS written to the current default directory _OF THE DUMPING PROCESS_.

Think about it a bit:
- most probably SYS$LOGIN for the dumping process is different from that for the process issuing the SET command
- it is not (should not be) normally possible for the dumping process to write in another user's SYS$LOGIN.

Although WRITE access is not guaranteed for the executing process, it is at least much more likely.

If necessary, it is of course possible to do a SET DEF to the desired directory for the executing process (after checking/making sure of WRITE permission)

hth

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Volker Halle
Honored Contributor
Solution

Re: Dump of a process

Mulder,

$ SET PROC/ID=xxx/DUMP jsut sets the DUMP bit in the process. This will cause a process dump to be written, if the image terminates because of an unhandled condition(sometine in the future...)

To force a process dump, you need to specify /DUMP=NOW. Not that this will NOT terminate the image, but just force a process dump file to be written.

Volker.