|
You can call the gethostbyaddr function from RPG, CL or Java. RTVNETA will give you the system name, not the host name. They may be the same, but they don't have to be. > -------- Original Message -------- > Subject: find full AS400 system name > From: Ashish Kulkarni <kulkarni_ash1312@xxxxxxxxx> > Date: Mon, April 25, 2005 10:31 am > To: java400-l@xxxxxxxxxxxx > > Hi > Suppose my As400 Name is myas400 and is on > mydomain.com domain, so the full name is > myas400.mydomain.com > is it possible to find this full name in RPG, CL or > Java program. I woulc prefer a CL is possible > I Know in CL i can use RTVNETA SYSNAME(&SYSNAME) to > get 8 character system name which is myas400. > > Ashish > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > -- > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) > mailing list > To post a message email: JAVA400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/java400-l > or email: JAVA400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-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.