> Probably better to just use the TCB pointer chains while holding
> the local lock.

You've piqued my interest ... Which TCB chain? Where's its anchor and next 
chain pointer? Does this chain contain only dispatchable TCB? 

Currently I run the TCB chain starting from job step TCB and moving 
forward via the TCBTCB field (while the local lock is held). I check 
TCBPNDSP, TCBRBWF, and WEBPaused to determine if the TCB is waiting. If 
not then if TCBACTIV is on I assume it's active. As I've discovered 
TCBACTIV doesn't give an accurate picture of the TCB's state. 

Thanks,
Vic

----------------------------------------------------------------------
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

Reply via email to