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 - 3281 days ago
Last viewed on: 17 Jan 2022 (5016 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: 9 years 6 months 21 days 17 hours 50 minutes ago

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

Posted by: DaleB
Premium member *
Reading, PA
Comment on: Retrive IP Address
Posted: 9 years 6 months 18 days 3 hours 2 minutes ago

If IPv4, see also QUSRJOBI format JOBI0600.