Thanks for the suggestion John.    This or the NMI interface suggested by 
Robin should work.   Regards


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
John McKown
Sent: Monday, April 29, 2019 8:32 AM
To: [email protected]
Subject: Re: TCPIP IP address for current LPAR

On Mon, Apr 29, 2019 at 7:10 AM Stan Weyman < 
[email protected]> wrote:

>    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?
>

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.hala001/getid.htm
may
be what you want.



>
>    Thanks ahead of time
>
>       Regards
>           Stan
>

--
This is clearly another case of too many mad scientists, and not enough 
hunchbacks.


Maranatha! <><
John McKown

----------------------------------------------------------------------
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

Reply via email to