Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!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: <8707090443.AA09257@uunet.UU.NET>
Date: Thu, 9-Jul-87 14:25:00 EDT
Article-I.D.: uunet.8707090443.AA09257
Posted: Thu Jul  9 14:25:00 1987
Date-Received: Sun, 12-Jul-87 16:48:21 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|
+------------------------------+-----------------------------------------------+