Midrange News for the IBM i Community

Posted by: rpgprogrammer
Vancouver, BC
Retrive IP Address
has no ratings.
Published: 28 Jun 2012
Revised: 23 Jan 2013 - 3665 days ago
Last viewed on: 02 Feb 2023 (5230 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Retrive IP Address Published by: rpgprogrammer on 28 Jun 2012 view comments(2)



Is there any way I can get the IP address of the Computer which is using the iSeries Emulator?

For example people accessing the iSeries from two different windoes client machines will have different IP Addresses..

Is there any way to get those IP Addresses?

Return to midrangenews.com home page.
Sort Ascend | Descend


(Sign in to Post a Comment)
Posted by: TFisher
Premium member *
Comment on: Retrive IP Address
Posted: 10 years 7 months 9 days 18 hours 17 minutes ago

Yes, the QDCRDEVD API will return it (DEVD0600 format).

Posted by: DaleB
Premium member *
Reading, PA
Comment on: Retrive IP Address
Posted: 10 years 7 months 6 days 3 hours 30 minutes ago

If IPv4, see also QUSRJOBI format JOBI0600.