Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!sdcsvax!ucbvax!YALE.ARPA!LEICHTER-JERRY From: LEICHTER-JERRY@YALE.ARPA.UUCP Newsgroups: comp.os.vms Subject: Re: Physical terminal from DCL Message-ID: <8706180355.AA07617@ucbvax.Berkeley.EDU> Date: Wed, 17-Jun-87 23:55:43 EDT Article-I.D.: ucbvax.8706180355.AA07617 Posted: Wed Jun 17 23:55:43 1987 Date-Received: Fri, 19-Jun-87 04:36:46 EDT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Distribution: world Organization: The ARPA Internet Lines: 19 Does anyone know of a way to obtain the physical terminal name of an interactive process from DCL? F$getjpi(pid,"TERMINAL") returns the virtual terminal (if there is one) which is not nearly as useful a piece of information. F$GETDVI(F$GETJPI(pid,"TERMINAL"),"TT_PHYDEVNAM") I have also noticed that the accounting records also contain only the virtual terminals for jobs on ports where disconnect is available. Anyone know of a way to obtain this from accountng.dat?? The information is just not there to be gotten. (Note the complexity, BTW; the process may have been attached to any number of physical devices by the time it terminates. Do you want the device it was created on? The one it was on at the time of process deletion, if any? (It might have been discon- nected when it died!) -- Jerry -------