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? > > Thanks ahead of time > > Regards > Stan > I've been trying to avoid console commands where possible, and found Unix System Service command netstat -h (via bpxwunix) produces the same result as console command D TCPIP,,N,HOME. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
