× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: TCP/IP Address
  • From: "Shannon O'Donnell" <orion@xxxxxxxxxxxxxxx>
  • Date: Mon, 22 Feb 1999 20:39:26 -0600

Let's see if I can explain this for everyone.  What if....what if....now

I'm not saying I'll actually do this, this is only a what if...OK?

Alright then!  What if I had a PC application that wanted to FTP
something to an AS/400. And what if...I wanted to create the FTP script
ON the AS/400. One of the things I'd need to know, to put in the PC's
FTP script, would be the IP address  (or the host table name, I'm not
picky), of the AS/400 itself.  Sure, I could look this up and hard code
it, but what if I wanted to propagate this technique to multiple
AS/400's? I wouldn't want to look all of those IP addresses up each
time.  And...yes...I know I could FTP on the AS/400 to get the file from

the PC.  However, that's not what I'm looking for. I just want to know
if there is a way to get the IP address of the AS/400, not the devices,
using some AS/400 command, or API.   I could then load that IP address
into an FTP script and move the actual script to the PC where it could
be ran at some future time. Ah ha! Now you're catching on! ha!

OK, I hope that clears up the confusion for everyone. There may not even

be a way to do this. I haven't had time to look into it at all. It's
just something that came up at a client site today and I thought I'd
post the question here since there are so many great AS/400 people out
here on this forum.

Thanks for any assistance you might have.  If we don't come up with an
answer, it's no biggie. I'll either figure it out or not.  If I do, I'll

be sure to let everyone know!

Thanks!

Murphy, Guy wrote:

>         I guess I'm a littel confused too.  Are you trying to find the

> IP
> name or IP number or both?  Are you trying to find the info from an
> AS/400
> your already logged on or are you trying to get the info from some
> remote
> AS/400?
>
> Guy Murphy
> University of Illinois
> FACTS system
> 217-333-8670
> murphyfa@uiuc.edu
>
> -----Original Message-----
> From: Shannon O'Donnell [mailto:orion@auburnctnet.com]
> Sent: Monday, February 22, 1999 3:17 PM
> To: MIDRANGE-L@midrange.com
> Subject: Re: TCP/IP Address
>
> > NETSTAT OPTION(*IFC)
>
> Hello All,
>
> Thanks for all your responses.  I did know about Netstat.  I guess I
> didn't ask the question correctly....Is there a way PROGRAMATICALLY to

>
> get the IP address(es) of the AS/400.  I know how to get the IP
> address
> of an individual device, I'm looking for a way to get the IP address
> of
> the AS/400 itself. What was set up via CFGTCP.
>
> Thanks!
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.

>
> | To unsubscribe from this list send email to
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---





+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.