<snip>
I chain backward as its  the only way to do it wrapping around tcbrbp and next 
rb had the registers in the prefix it had SVC 12 maybe SVC 42 issued that
</snip>

"Wrapping around tcbrbp" is a strange way to do much of anything.

More natural would be to start with TCBRBP to locate the newest RB and chain 
using RBLINKB to go as far as you choose to go.
When you get to the relevant RB, you could/would/should have saved the address 
of the previous RB (the next newer RB).
One of those RBs has the PSW; one of those RBs has the registers.

SVC 12 is the SYNCH SVC which is how RTM gives control to an ESTAE. And that's 
why the PRB for your ESTAE is separated from the PRB for your mainline by an 
SVRB for the SVC D that got you into RTM.

Peter Relson
z/OS Core Technology Design


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to