NEWCOMER@DICKINSN.BITNET ("Newcomer, Don") (10/09/87)
Personally, if I wanted to know if TPU was running in a subprocess I'd use a procedure I've set up that uses my CALLUSER program to do a $GETJPI. I've found the procedure to be rather handy for things like writing temporary files with my PID as part of the filename. I think my procedure has constant values like USERNAME and the CALLUSER program returns the jpi$_xxx value. Don Newcomer NEWCOMER@DICKINSN.BITNET