connecting from RPG to a web browser
0 pts.
0
Q:
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,
ASKED: Jun 10 2005  1:35 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
0 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 !!!
Last Answered: Jun 12 2005  8:21 AM GMT by me2learn   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

burtmis   100 pts.  |   Jun 13 2005  8:48AM GMT

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.

 

TomLiotta   7785 pts.  |   Oct 26 2009  5:47AM GMT

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

 

YuVa47   280 pts.  |   Oct 26 2009  3:24PM GMT

Hi burtmis,

Is it possible to include the link to that article?

Thanks,
YuVag

 
0