[comp.os.vms] Question: using $GETJPI sys.serv. to get info on detached process

MANAGER@SMITH.BITNET (Mary Malmros) (10/09/87)

Here's a quote from _System Routines: System Services_ (vol. 8D of VMS doc
set), p. SYS-214:

     JPI$_JOBTYPE
     When JPI$_JOBTYPE is specified, $GETJPI returns the execution mode of
     the process at the root of the job tree...

This "execution mode" is one of the following: detached, network, batch,
local, dialup, or remote.

My question is this: how do I get this information for the process itself,
if it happens to be detached or a subprocess?  I can't find any other item
in $GETJPI that might do it.  There is JPI$_MODE, but that does not give as
much information (just network, batch, interactive, or "other").

Thanks, all...

Mary Malmros
MANAGER@SMITH.BITNET