N P
asked on
AS/400 finding host ip number
I am trying to get the host ip number for a device connection on AS/400. In the work with Device Description, I see a device that I cannot seem to vary off because the emulation software that the user connects with is set to autoconnect. How can I find out what is the host machine ip number that is trying to access the AS/400 with that device description?
thanks
Nick
thanks
Nick
I don't understand the question. First, to clarify, are you trying to find the host (i.e., the AS/400) IP address? Or do you want to find the client (i.e., the connecting PC or other system) IP address? Either way, there should be no relationship to whether any device is varied on or off.
The only relationship to varied *ON/*OFF status should be that a device that is varied off won't have a valid IP address. Only an active device has an IP address that can make sense. Any other state should indicate not to use an IP address from the *DEVD. (And a *DEVD on the AS/400 won't have the AS/400 IP address except under rare and unlikely circumstances.)
Tom
The only relationship to varied *ON/*OFF status should be that a device that is varied off won't have a valid IP address. Only an active device has an IP address that can make sense. Any other state should indicate not to use an IP address from the *DEVD. (And a *DEVD on the AS/400 won't have the AS/400 IP address except under rare and unlikely circumstances.)
Tom
ASKER
Thanks Tom and Jon for answering back. Sorry, let me clarify. We use a client software called reflections to connect to AS/400. In the Reflection Client session setup, there is place in the "Transport" section where we can put a "Device Name". That name (for example I put in TCPC8837) in the "Device Name" box shows up when I do WRKCFGSTS CFGTYPE(*DEV). The description is TCPC8837 and the status is DISPLAY SIGNON. What I need to find out is in AS/400 is there anyway I can tell which desktop machine is using this Reflection Client session. Meaning, I need to find out what is the client machine physical IP number that is running the reflections session. Does AS/400 have a way of showing who is attaching to the 400 by look at the clients desktop machines IP number? The reason I need to do this is someone has opened this Reflection session twice. Only one session should be open because I gave it a device name and someone is holding onto this resource not allowing the correct user to use the system.
thanks
nick
thanks
nick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
awesome Jon, you've just saved me from 4 days of headache.
nick :()
nick :()
Simply displaying the *DEVD (when status is active, including signon display) should show any IP address:
== > DSPDEVD TCPC8837
If it doesn't, then more info is needed because something is missing.
Tom
== > DSPDEVD TCPC8837
If it doesn't, then more info is needed because something is missing.
Tom
~Jon