Hi
I am using Genie to display a screen that uses STRPCCMD to fire up a Word document.
While Word is the active window, the Client Access session waits at the STRPCCMD line of code until the session becomes the active window again. This is essential for us as we want the user to save and close the Word doc before continuing through the green screens.
I have the Word doc firing up fine from the Genie version of the screen, but the browser is moving on to the next screen (in the window behind the Word doc) rather than waiting.
Is there any way in Genie to replicate the way it 'waits' in Client Access?
Thanks
Jon
STRPCCMD - pausing in RPG code until window becomes active
-
- New User
- Posts: 7
- Joined: Wed May 29, 2013 10:37 am
- First Name: jon
- Last Name: ****
- Company Name: Ageas Insurance Limited
- Country: United Kingdom
- Contact:
- David
- Profound Logic Staff Member
- Posts: 690
- Joined: Fri Jan 04, 2008 12:11 pm
- First Name: David
- Last Name: Russo
- Company Name: Profound Logic Software
- Contact:
Re: STRPCCMD - pausing in RPG code until window becomes active
Unfortunately, the 'wait' cannot be replicated.
In Client Access, the 5250 emulation is running on the PC, so it just runs the command and waits until its done.
In Genie, though, the 5250 emulation is running on the IBM i server itself, and obviously can't run the command right then and there. So what it does is stores the command until the point when a screen is going out to the browser. It then sends the command out to the browser for execution on the PC.
In Client Access, the 5250 emulation is running on the PC, so it just runs the command and waits until its done.
In Genie, though, the 5250 emulation is running on the IBM i server itself, and obviously can't run the command right then and there. So what it does is stores the command until the point when a screen is going out to the browser. It then sends the command out to the browser for execution on the PC.
Who is online
Users browsing this forum: No registered users and 1 guest