The LPAR may have multiple IP addresses; what you need is the IP address for your end of the session. But why doesn't the remote application get that automatically? In fact, how does it communicate with you at all without it?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Stan Weyman <00000239b6933cab-dmarc-requ...@listserv.ua.edu> Sent: Monday, April 29, 2019 8:00 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: TCPIP IP address for current LPAR Is there an accessible control block that holds the IP address (or addresses) for the current LPAR I'm running on? I have need to pass back this address to another remote application and would prefer to interrogate a control block rather than issue commands to obtain same a la D TCPIP,,NETSTAT,HOME (although this would be my alternative). A sample snippet of code would be great but the location should let me get there. Is there any other option that getting the @ from a control block or using D TCPIP,,NETSTAT,HOME? Thanks ahead of time Regards Stan ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN