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 - 3164 days ago
Last viewed on: 22 Sep 2021 (4932 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 2 months 26 days 16 hours 36 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 2 months 23 days 1 hours 49 minutes ago

If IPv4, see also QUSRJOBI format JOBI0600.