Ian,
Someone on the list supplied a code snippet that we are using. In our
program, an RPG pgm launches a VB app, and passes in the IP address of the
requesting PC. We use this basic CL to get the information.
Cyndi B.
Boise, ID

PGM                                                                     
DCL &RTN TYPE(*CHAR) LEN(900)                                           
DCL &DEVD TYPE(*CHAR) LEN(10)                                           

RTVJOBA    JOB(&DEVD)                                      
                                                                        
CALL QSYS/QDCRDEVD PARM(&RTN X'0384' 'DEVD0600' &DEVD +                
      X'00000000')                                                      
SNDPGMMSG MSG('I have determined your TCP/IP Address to be ' +         
             || %SST(&RTN 878 15))                                      
                                                                        
ENDPGM                                                                  



"The Idaho Housing and Finance Association provides funding
for affordable housing in Idaho communities. IHFA is not a state
agency under state law, and uses no state funds or state employees
to support its operations."



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.