Call a rpg program from genie subfile grid on a click event
-
- Profound User
- Posts: 40
- Joined: Tue Jun 28, 2011 4:55 pm
- First Name: Thomson
- Last Name: Mathews
- Company Name: Chesapeake Energy
- Contact:
Call a rpg program from genie subfile grid on a click event
Is it possible to call a rpg program from genie subfile grid on a click event
- 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: Call a rpg program from genie subfile grid on a click event
Can you explain what you are looking to accomplish?
-
- Profound User
- Posts: 40
- Joined: Tue Jun 28, 2011 4:55 pm
- First Name: Thomson
- Last Name: Mathews
- Company Name: Chesapeake Energy
- Contact:
Re: Call a rpg program from genie subfile grid on a click event
When i click on a subfile grid i want to call a external RPG program and pass a parameter value that is scraped from the existing screen. The reason I am doing this is dont want to modify the original program, but add this new functionality at GENIE level.
- 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: Call a rpg program from genie subfile grid on a click event
What would this new program do?
-
- Profound User
- Posts: 40
- Joined: Tue Jun 28, 2011 4:55 pm
- First Name: Thomson
- Last Name: Mathews
- Company Name: Chesapeake Energy
- Contact:
Re: Call a rpg program from genie subfile grid on a click event
The program will display another subfile grid with some aditional data for the scraped data of the previous screen.
- 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: Call a rpg program from genie subfile grid on a click event
OK. There are a few ways of thinking about this:
1. You'd have to modify the underlying application to call the other subfile program based on the subfile row selection.
You did mention that this was not desirable, but I did want to point out that it's the only very seamless and easy way of doing it, assuming it's possible to change the program (i.e. you have the source code).
We would recommend doing this in most cases.
2. If your new application is a 5250 display file application that is to run in Genie, the only other way would be to use a Genie macro (document attached) to get the user to the application in a new Genie session which runs in a new browser window.
In order to get signed in again, you'd have to be running the session with HTTP server authentication (rather than 5250 sign on display). You can do that by launching Gene session with this URL:
When launched that way, you get an HTTP sign on prompt and the 5250 sign on display is bypassed.
1. You'd have to modify the underlying application to call the other subfile program based on the subfile row selection.
You did mention that this was not desirable, but I did want to point out that it's the only very seamless and easy way of doing it, assuming it's possible to change the program (i.e. you have the source code).
We would recommend doing this in most cases.
2. If your new application is a 5250 display file application that is to run in Genie, the only other way would be to use a Genie macro (document attached) to get the user to the application in a new Genie session which runs in a new browser window.
In order to get signed in again, you'd have to be running the session with HTTP server authentication (rather than 5250 sign on display). You can do that by launching Gene session with this URL:
Code: Select all
http://yourserver:8080/profoundui/auth/genie (can be customized)
- Attachments
-
- Genie Macros.pdf
- (869.32 KiB) Downloaded 502 times
Who is online
Users browsing this forum: No registered users and 1 guest