> > ISTR that R14 in a jobstep programme points > > directly at an SVC 3 instruction. You used to be able to tell if you > were > > the jobstep programme by looking at that. > An ATTACHed subtask also gets an R14 that points to the SVC 3 (EXIT) in > the CVT, so your test for "jobstep task" was never valid.
Not just any freshly attached task, but -any- new RB also gets the address of CVTEXIT in R14. So any program entered via SYNCH, LINK or XCTL, or any of the mechanisms for scheduling IRBs, or any type 2-4 SVC will have that value. Put differently, the situation where (R14->CVTEXIT) is as common as dirt and has nothing at all to do with being a job step or not. If you want to know your TCB is a job step TCB, then compare its address with the value in TCBJSTCB. If they are the same, then it's a job step TCB. Otherwise, its not. CC ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html