|
I would make sure the AS400 is in your DNS server. I would then retrieve the AS400 System name and use DNS to find the published IP. This way the program will work on any properly configured networked AS400. For more information on using the DNS lookup features, check out the archives. Christopher K. Bipes mailto:Chris.Bipes@Cross-Check.com Operations & Network Mgr mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 Hi Scott Thanks a lot for the explanation. The scenario for which I'm working is given below:- I need to retrieve the IP address of the machines dynamically into a variable in the CL program. I need to make this information available to an interfaced system that might need this for FTP purposes. The actual IP is needed as the alias name is not available to the other system. Actual Scenario: Same application is running in 3 AS/400 machines and all these 3 AS/400 machines are communicating with a third party system residing in a non AS/400 machine, through a single interface system running in one of the AS/400 machine. I should retrieve the IP address of the right machine as per the process and inform the non as/400 system. I have the constraint of being unable to use hard coding or keeping the IP on a control file. Hope it explains my scenario. Please suggest me a best approach for this scenario.
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.