Open URL in RPG from JAVA or QSHELL

85 pts.
Tags:
Java
OPEN URL
Qshell
RPG Program
STRPCCMD
how to open web url from a rpg program using QSHELL or JAVA, and without using STRPCCMD, RUNRMTCMD commands as STRPCCMD looses the CLIENT ACCCESS focus?
ASKED: November 8, 2010  4:43 PM
UPDATED: November 10, 2010  8:36 PM

Answer Wiki

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

ensure STRPCMCMD_PAUSE=Y used in client access .ws file, under 5250 tag.

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
  • TomLiotta
    You're wanting an RPG program running on your iSeries not only to invoke a browser process on the PC but also to cause the desktop to maintain its existing window focus? And you don't want to use STRPCCMD nor RUNRMTCMD? Would STRPCCMD (or RUNRMTCMD or rexec()) be acceptable if desktop window focus was maintained? If so, then you probably need to write a PC program that does what you need. RPG could then probably issue a remote call to that program while passing the URL as a parm. The PC "program" could possibly be any executable object -- a .BAT file, a .EXE or whatever you know how to create that can manipulate desktop focus elements. Potentially, the PC "program" could be served from a mapped drive to the IFS. Imagine how you'd get something similar done with just two PCs. You'd make a connection from PC1 to PC2; then you'd execute a function on PC2 that reached back to PC1 while running on PC2 and controlled PC1's desktop GUI. If you can get it done with two PCs, it might be feasible to do it using two radically different OSes. Tom
    125,585 pointsBadges:
    report
  • rpgfreeer
    Hi Tom, I would use the STRPCCMD or RUNRMTCMD if I could keep the focus on the AS400 session. Have you run into a similar issue? Any examples would be appreciated. Thanks, RPGFREEER
    85 pointsBadges:
    report
  • rpgfreeer
    Hi Tom, Thanks for the assist. I'm using the CLIENT ACCESS for IBM I to access the ISERIES. I found some documentation on the STRPCCMD and determined the PAUSE(*NO) was being ignored. After some research, I found a document stating that you can enable this function via adding the line STRPCCMD_PAUSE=Y, under the 5250 tag. After closing out my ISERIES session and reopening, my 400 program is now being returned to the session, allowing data to be retrieved from the web page previously opened. Thanks again for the assist. RPGfreeer
    85 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