And of course the next instruction might not be in your load module, it might be in some service your code called.
I suspect your original need is solvable but might be a larger container of worms than might be anticipated. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of John McKown Sent: Friday, October 20, 2017 7:41 AM To: [email protected] Subject: Re: Determine tasks PSWA "next instruction to execute" from an STIMER exit? On Fri, Oct 20, 2017 at 9:30 AM, Thomas David Rivers <[email protected]> wrote: > Well - > > When an STIMER (STIMERM) exit "pops" - there is little to say about > the state of the task... but, if you wanted to know _where_ the > program was executing at the time of the exit... where would you look? > > I wandered around the TCB a little - but nothing was immediately > obvious; and I thought someone here probably knows precisely where > this is kept. > > - Thanks - > - Dave Rivers - > > -- > Strictly a guess on my part, but I'd bet that your exit is running under an IRB chained to a PRB. I would further guess that the PSW and REGS at the time the STIMERM popped would be in that PRB. Of course, this is strictly a guess on my part and is not GUPI. -- I just child proofed my house. But the kids still manage to get in. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
