× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You are better off using the STRPCCMD command instead of RUNRMTCMD for these
types of interactive uses.

STRPCCMD sends the command thru the issuing 5250 session itself.  So you
don't need to worry about IP address or user ID and password.


HTH,

Charles Wilt
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121
 

> -----Original Message-----
> From: CZE Midrange [mailto:CZEMidrange@xxxxxxxxxx]
> Sent: Friday, December 03, 2004 8:17 PM
> To: midrange-l@xxxxxxxxxxxx
> Subject: Imaging interface techniques and tools - PART II
> 
> 
> 
> 
> 
> 
> 
> If you run this command (after some fairly easy setup work), you can
> execute an image file (i.e. Jpeg, BMP) from a 400 C/A 5250 
> session...which
> is great!
> 
> RUNRMTCMD CMD('IEXPLORE.EXE c:\KIDS.JPG') 
> RMTLOCNAME('192.168.168.13' *IP)
> RMTUSER(username) RMTPWD(user's Password)
> 
> My question is, how, from the as400 side, can you retrieve the PC's IP
> address that is making the request along with the user and 
> username from
> the windows sign in procedure? Sure, you could build a DDS 
> and hard-code
> each user, their PC address, user name and password and then 
> extract it
> from any RPG program but...it sure would be much cleaner to 
> obtain that
> information "softly" rather than rely on "messy" table logic as such
> described.
> 
> Thanks for your input!
> 
>  Rick Rayburn
> NYC
> 
> --
> This is the Midrange Systems Technical Discussion 
> (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
> 

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-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.