|
Shannon, The WRKTCPSTS SELECT(*IFC) command will show you the IP addresses and the current status of the interface. If you use the CFGTCP command, option 1, you can see your TCP/IP configuration. Under program control you can use ioctl() functions to list IP addresses, but I suspect this more deeper than you want to go? Hth, Patrick Shannon O'Donnell wrote: > > This might be a dumb question, but I am away from my office and can't > look it up, and my internet connection is too slow to spend a long time > searching the online knowledgebase for the answer...so...does anyone > know, off the top of their head, if there is a way to get the IP address > of the AS/400 using a command, a cl program or an API and what it's > called? > > I just need to verify that this function exists. I know about the > Retrieve Device Description API that will do this for the individual > client. I'm just not sure if there's a way to retrieve the actual IP > address as defined for the system. > > 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 > +--- -- IBM AS/400 communications, FTP automation, and network security software and consulting services. http://www.patownsend.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 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.