Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!ut-sally!husc6!think!ames!ucbcad!ucbvax!uacomsci.ua.OZ.AU!droper
From: droper@uacomsci.ua.OZ.AU (Dave Roper)
Newsgroups: comp.os.vms
Subject: DECNET source information on other processes
Message-ID: <8707100953.AA01414@seismo.CSS.GOV>
Date: Fri, 10-Jul-87 16:02:00 EDT
Article-I.D.: seismo.8707100953.AA01414
Posted: Fri Jul 10 16:02:00 1987
Date-Received: Mon, 13-Jul-87 00:55:42 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 26

Does anyone have a program to return the remote node and id of a process
that has logged in via SET HOST ?

I can get this information about the CURRENT process via the logical names
SYS$REM_NODE and SYS$REM_ID in the job logical name table, but how can I
access the job table of another process ?  It appears that job tables have
names of the form LNM$JOB_ where  is the value of PCB$L_JIB in the
process's Process Control Block, but I don't have enough "internals" experience
to get at other process's PCBs.  If someone has a piece of code to get this
far, then I can take it from there.

Alternatively, this information should be accessible from NETACP via that
undocumented interface with $QIO; has anybody done this ?  (January 1986
PAGESWAPPER has part of the code to do this, but you first need to know the
number of the LINK.)

Many thanks, Dave Roper.
+------------------------------+-----------------------------------------------+
|POST:  Dave Roper             |ACSNET: droper@uacomsci.ua.oz                  |
|       Registry               |ARPANET:droper%uacomsci.ua.oz@seismo.css.gov   |
|       University of Adelaide |BITNET: droper@uacomsci.ua.oz                  |
|       South Australia        |CSNET:  droper@uacomsci.ua.oz                  |
|TELEX: UNIVAD AA 89141        |DECNET: admin1::DROPER                         |
|VOICE: (08) 228-5264          |JANET:  uacomsci.ua.oz!droper@ukc              |
|  O/S: 61 8 2285264           |USENET: ..!seismo!munnari!uacomsci.ua.oz!droper|
+------------------------------+-----------------------------------------------+