connecting from RPG to a web browser

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,

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)

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.
  • Burtmis
    In order to do what you want to is very simple. I found a article on the "" 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:
  • 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:
  • YuVa47
    Hi burtmis, Is it possible to include the link to that article? Thanks, YuVag
    1,300 pointsBadges:

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.

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


Share this item with your network: