connecting from RPG to a web browser

0 pts.
Tags:
Development
RPG
we like to have a function key on a screen so when the user press that function key a web page opens up. We use free from RPG. Any information will help. Is there a website that I can use to get some info about this? Thank you,
ASKED: June 10, 2005  1:35 PM
UPDATED: October 26, 2009  3:24 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

U can easily connect to any web page. The steps u have to include in u’r pgm will be as below:

1. STRPCO (start PC organiser)
2. STRPCCMD “http://www.google.com/

U can either use this as a QCMDEXC within the RPG pgm or just call a CL pgm to do the same when u’r Fn key is pressed.

HTH !!!

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Burtmis
    In order to do what you want to is very simple. I found a article on the "search400.com" website on this. Insert a Web URL into your display file and enable the "Execute URL" option under the Hotspot Setup, which can be found on the PC5250 "Assist" menu. Then just press a mouse key or a cmd key and it should work. I have it working on about 40 PC's right now. Hope this helps.
    100 pointsBadges:
    report
  • TomLiotta
    Forget STRPCCMD (except in particular circumstances that don't seem to apply in your case). It's intended essentially for DOS-based Client Access, rather than modern Windows and iSeries Access and later. Use functions that are from appropriate modern technology. E.g., use RUNRMTCMD with an appropriate rexec service on the PC. Current systems -- even including recent Windows releases -- are not going to allow a different system to simply reach across the network and execute programs on them. Allowing such an action implies incredibly lax security. Proper setup is required before it's going to work in a rational, reliable manner. It's hard to believe that people still think it should simply work because you execute a command on an AS/400 when the same people would be upset if it happened by executing a command on another PC in the network. How would you protect against viruses and other malware if this was a common and easy action? Tom
    125,585 pointsBadges:
    report
  • YuVa47
    Hi burtmis, Is it possible to include the link to that article? Thanks, YuVag
    1,285 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following