× 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.



Ashish:

java.net.InetAddress.getLocalHost().getHostName()

Johnny
SCJP





Ashish Kulkarni <kulkarni_ash1312@xxxxxxxxx> 
Sent by: java400-l-bounces@xxxxxxxxxxxx
04/25/2005 12:15 PM
Please respond to
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>


To
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>
cc

Subject
RE: find full AS400 system name






Hi
Do you have a code example of calling in API from ROG,
or CL or java


ashish
--- michael@xxxxxxxxxxxxxxxxxx wrote:
> 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.
> 
> -- 
> 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.
> 
> 

__________________________________________________
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 thread ...

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.