|
OK. But I didn't find anything in V4R5. I think API QTOCNETSTS which answers my request appeared with V5R1. Anyway I would prefer a simpler way by using only CL and basic OS/400 commands. If there is no, I will wait until we install a most recent OS version to write a RPG program however. Thanks. JCM -----Message d'origine----- De : midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]De la part de rob@xxxxxxxxx Envoyé : jeudi 30 septembre 2004 17:20 À : Midrange Systems Technical Discussion Objet : Re: Get TCP/IP informations Have you looked at the Infocenter? Namely the part that says Programming. And then underneath that, APIs? Try that. If you have any further questions, come on back. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com "MITTELHEISSER Jean Claude" <MITTELJC@xxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 09/30/2004 10:13 AM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> cc Fax to Subject Get TCP/IP informations Hi all, I would like to write a CL that extracts in batch some TCP/IP informations such as local IP address, IP mask, gateway, MAC address and speed. MAC address and speed can be found by using DSPLIND. But I didn't find any command to extract the other values. WRKTCPSTS works but I can't use it in batch (isn't it ?). Is there an API to do that ? Is there a file where these informations are stored ? Thanks. Best Regards. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.