|
My WRKODBCJOB command does this. I included the source in the save file. http://home.columbus.rr.com/jbmmdietz/iseries.html when you run the command use the parm like WRKODBCJOB QZRC* _____________________________ Bryan Dietz Aktion Associates midrange-l-bounces@xxxxxxxxxxxx wrote on 10/19/2005 05:42:11 PM: > David Gibbs wrote: > > Does anyone know of a programmatic way to determine the remote client > > IP address for a command run through QZRCSRVS? > > I finally got back to this today ... and I think I've found a solution. > > Turns out that QUSRJOBI format JOBI0600 has a client IP field. It > appears to work for both workstation and server submitted requests. > > http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm? > info/apis/qusrjobi.htm > > "Client IP address. The IP address of the client for which this server > is doing work. When this field is blank, this thread is not serving a > client. An address is expressed in the form www.xxx.yyy.zzz (for > example, 130.99.128.1). This field is not guaranteed to be an IP > address. This field is set to the value set by the QWTCHGJB API.End of > change" > > I need to validate it a bit more ... but it looks promising. > > david >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.