Teandy
3165 pts. | Nov 3 2009 7:21PM GMT
Ron,
You may want to look into a Break handling program. I have never used one but from what I understand, they will allow you to execute commands on behalf of the user.
Here is a couple of sample programs I found that might help.
<a href="http://www.dbg400.net/foswiki/bin/view/DBG400/BreakPgm#Message_Break_Handling_Program" title="http://www.dbg400.net/foswiki/bin/view/DBG400/BreakPgm#Message_Break_Handling_Program" target="_blank">http://www.dbg400.net/foswiki/bin/view/D…</a>
<a href="http://www.sentinex.com/mqbh.html" title="http://www.sentinex.com/mqbh.html" target="_blank">http://www.sentinex.com/mqbh.html</a>
You can fild more at:
<a href="http://www.google.com/search?hl=en&q=%22Break+handling+program%22&aq=f&oq=&aqi=" title="http://www.google.com/search?hl=en&q=%22Break+handling+program%22&aq=f&oq=&aqi=" target="_blank">http://www.google.com/search?hl=en&q…</a>
TomLiotta
7610 pts. | Nov 5 2009 2:21AM GMT
Anyway to transfer the controling job to the admin?
What OS version/release? Pre-V5R4, you could use STRSRVJOB with a TRCJOB *ON EXITPGM() command to set an exit program to run in the serviced job. At V5R4, the EXITPGM() parameter was made inoperative.
And at V5R4, the Call Job Interrupt Program (QWCJBITP) API was made available as a way to make up for the TRCJOB change.
In both cases, it takes some significant authority as well as some experience to use the facility well.
Tom






