Thanks, yes, I got pointed at GTTERM by a private reply also. When all else fails, try the environment's API.
Good stuff in GTTERM: Terminal name, net ID, and IP address (among others). I did not know that TSO was "cognizant" of any IP address. I thought that TSO just saw a TN3270 LU like any other 3270 LU and had no awareness of the concept of IP addresses. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bill Godfrey Sent: Tuesday, May 12, 2015 12:40 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Where can a running TSO program get its "terminal name" Also the GTTERM macro. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4B790/7.4 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN