Walter
Look at program QDCRDEVD, format DEVD0600. When you call this
program with a device name, it will return the IP address.
Search for QDCRDEVD at the IBM InfoCenter web site.
HTH,
Steve
-----------------------------------------------------------
Got questions? Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com
Rick
Steve <steve.mck...@southtrust.com.invalid> wrote in message
news:06f0d182...@usw-ex0101-005.remarq.com...
John Ross
WWW.NETSHARE400.COM (Internet Access to an AS/400)
"Walter" <wal...@nospam.com> wrote in message
news:8l1pn6$2u9b$2...@euler.space.net...
It's nearly certain there'll never be a simpler way. That is the way to
do it.
Naturally, it can be set up so that it's simple to use though. I have a
couple command shells and some CL that you can pull from
http://zap.to/tl400 that make it about as simple as it's possible to
get. But the underlying call to the API and the extraction of the
address from the returned data will always be there inside. Look over
what I've put up and see if you can suggest any way to simplify farther.
Tom Liotta
In article <8l1pn6$2u9b$2...@euler.space.net>,
"Walter" <wal...@nospam.com> wrote:
> I have to find out the IP address of interactive jobs (QPADEV... and
named
> sessions via Client Access).
> I found a description via dejanews that uses APIs etc., but it's from
1997.
> Is there a simpler way to do this today?
>
> Walter
>
>
--
Tom Liotta
AS/400 systems programmer
Sent via Deja.com http://www.deja.com/
Before you buy.
I took these "hard to use" api's and wrote what I think is a neat
little program. Take a look at SHOWIP at http://www.ignite400.org .
Navigate thru to the download area.
I shows the IP address of all telnet sessions as well as any LAN IP
printers.
Bryan Dietz