My group has an interesting task to perform:
The intention is to trap PF1 to run a utility program separate from the existing program, and without interfering with the existing program except that it won't be reciving any input until our new program is done doing what it does. We think we have this figured out since we are currently able to trigger execution without any activity in debug for the underlying program.
This new program then has to, somehow, figure out which screen the underlying program is on, hopefully what field is highlighted, since that's a phase II thing.
Using this data, our new program will reach out to another data source, probably through a CICS web service since we're sharing this database with another application. To get help data for the screen (or the field in phase II).
Then the program will get the data back and display it in a map overlaying the underlying application until the user dismisses it with another keypress.
We have a program in place that performs this type of activity, but it is a third party program and we have no insight into how it accomplishes it.
The thought behind the forum post was that if this program can do it then someone else must have seen how it accomplishes it's task.
We understand that it would be somewhat trivial to accomplish this task directly, except that this would require us to implement the change for every screen and program in the entire CICS implementation, which is quite large, making it a non-trivial and much riskier task, so instead we are attempting to emulate the behavior of this other program, which does it's work without requiring changes to the underlying code.
Thanks,
Jim