[HECnet] Getting remote hostname in DCL?
G.
gerry77 at mail.com
Sat Nov 26 12:16:22 PST 2016
On Sat, 26 Nov 2016 21:26:31 +0200, Sampsa Laine wrote:
> Guys, what’s the DCL lexical for extracting the remote host and username of
> someone logged into my system over DECNET? I’m writing a script that needs
> the host + username of the person connecting to a captive account..
REMPORT = F$GETDVI("TT:","TT_ACCPORNAM")
REMNODE = F$ELEMENT(0,":",REMPORT)
REMUSER = F$ELEMENT(2,":",REMPORT)
HTH, :)
G.
More information about the Hecnet-list
mailing list