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 - 4101 days ago
Last viewed on: 11 Apr 2024 (5514 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: 11 years 9 months 18 days 9 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: 11 years 9 months 14 days 18 hours 48 minutes ago

If IPv4, see also QUSRJOBI format JOBI0600.