|
I have been trying to use the QDCRDEVD API to get the IP address used by a
workstation. I took CL code samples posted here and a sample program from
IBM. The latter can be found at
http://www-01.ibm.com/support/docview.wss?uid=nas1ed43f4e3329a4a838625726c00
5d8be4 which I just copied and pasted, compiled and ran.
The issue that I am having is that no matter what device id (job) I pass to
the CL I always get 10.1.10.11. Doesn't matter if it is a dynamic device
created by Client Access, such as QPADEV0004, or a static device name, such
as D2 [me].
We have>20 retail stores that connect to our system (V5R2) over the 'Net
with Client Access. Each store has a static ip address so I was hoping to
be able to identify each store based upon their IP address when they signed
in. I have not run this at any of the stores, only local devices.
Any idea why everything gets reported as 10.1.10.11?
Jerry C. Adams
IBM i Programmer/Analyst
Baseball. The Boston Celtics and the Los Angeles Lakers could be playing
for the championship, and I'd rather be watching the Angels and Yankees.
-John Wooden
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.