|
Thanks Scott. It would be nice to use a remote command and I did try this command RUNRMTCMD - but keep getting "A remote host refused an attempted connect operation.", even for a simple opening a notepad. Then there is a user ip address to be figured out. Thanks, Sudha Sudha Ramanujan SunGard Futures Systems sramanujan@xxxxxxxxxxxxxxxxxx (312) 577 6179 (312) 577 6101 - Fax -----Original Message----- From: Scott Klement [mailto:rpg400-l@xxxxxxxxxxxxxxxx] Sent: Friday, January 21, 2005 3:09 PM To: RPG programming on the AS400 / iSeries Subject: Re: Html from AS/400 > In my program, I have used STRPCO and STRPCCMD to invoke default browser > and the desired page on PC. Will this work with RUMBA? No. STRPCCMD is iSeries Access only as far as I know. There are alternative PC servers for RUNRMTCMD (which uses the REXEC protocol), so you could use that as an alternative if you want to keep doing things this way. This also has the advantage that it works with other computer systems. You can submit a remote commands from/to other Windows machines, Linux machines, etc in addition to submitting them from the iSeries. > I also find the client access is going away and this may not be the > ideal way to do. I tried to use a java program but that does not run on > iSeries as it tries to invoke the browser on iSeries and errors out. > What other ways have you all been working with? However, if your goal is to create web pages in RPG and display them in a browser, wouldn't CGI make a lot more sense than running a remote command? With CGI, you configure a library on your system as being accessible from the web server. Then, you do something like http://iseries.example.com/library/myrpgpgm.pgm and the web server runs your RPG program. Whatever your program writes out gets displayed in the browser automatically. That just seems like a better alternative to me. Maybe I'm crazy. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.