The LUNAME that you're seeing is the name for TSO, not the name for your PCOMM.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Farley, Peter x23353 <[email protected]> Sent: Tuesday, March 3, 2020 2:24 PM To: [email protected] Subject: Re: How to get a workstation name from ip address My PCOMM emulator (V5.7) on my work PC displays the LU name that it connects to in the window area below the actual 3270 screen (below the 3270 "operator information area") when I connect remotely to my employer's system. I don’t see my Vista emulator dong the same, but Tom should be able to tell you if he has it available somewhere in his menus. I have seen ADCD system connect screens that put the LU name on the screen when you connect, so I presume it is available somewhere in VTAM at connection time, but I've only seen that LU name displayed when connecting via tn3270e to an IP address, not when connecting to a "local" (non-network) device. I do not know if there is a display command or a VTAM API that could get you the LU name, but that isn't a "workstation identifier" either when you think of it, since you are likely to get a different LU name every time you connect. >From the other responses it would seem that getting a "host name" for the >remote IP address may in fact require a "reverse DNS" lookup to get that name. > I wonder, does "reverse DNS" get you to the actual connected system >(presumably a PC of some sort) even if the PC is behind a router and uses DHCP >for a local network address (so only the router has a "public" IP address)? >What if the PC also uses a VPN to connect to the remote system? What about "thin client" setups? What does a system that gives you a 3270 screen in a browser window (i.e., no actual tn3270 software on the PC) look like on the VTAM side? What IP address does it see connecting? Interesting questions. Peter -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Charles Mills Sent: Tuesday, March 3, 2020 1:21 PM To: [email protected] Subject: Re: How to get a workstation name from ip address I hesitate a little to possibly just add to the noise because I don't really know the answer; I'm just hypothecating. Does a workstation necessarily have a name? In the protocol, I mean. A dumb terminal with no name can do telnet. Is there anything to the connection request other than "Hi, I'm 192.168.1.1, let's connect"? There's no query where the mainframe says "tell me about yourself," right? I don't recall anything in my 3270 emulator (Tom Brennan's Vista) where I say "here is my name to give to the host." There is a space for an "LU name" but it's blank and I have no idea what it is for. My Windows has a hostname but there is no reason to think it is unique in any given host's clients. I fear the question may not have an answer. There's always my favorite approach: disable it and see who screams. (Yeah, you could put out some sort of warning broadcast a month in advance.) Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of don isenstadt Sent: Tuesday, March 3, 2020 9:32 AM To: [email protected] Subject: How to get a workstation name from ip address Hello..we have many users who are still using port 23 unsecured..so we can easily identify them with a display tcpip command po=23. The list of ip addresses needs to be translated to a workstation name because the ip addresses are volitile. Ping -a does not work on the mainframe. We want the command to be run from the mainframe. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
