> Jim Mulder said the Current work unit is in the Web I said nothing about what is in the WEB. This is exactly what I said: "LCCACWEB (which is classified as not a programming interface) contains the address of the currently dispatched WEB." > I looked at that and saw a field WEBUPTR however the documentation says it > not always valid
And that is correct. If the WEB represents a TCB, WEBUPTR contains the TCB address. If the WEB represents an SRB, WEBUPTR contains the SSRB address if it is stopped or suspended, and contains the SRB or SSRB address if it has never been dispatched, and contains a residual SRB or SSRB address if it is currently dispatched. The block that the residual address points may have been freed or reused. > If an SRB is suspended another SRB could be next to run not necessarily a > TCB There is no way to determine what the next thing to run will be. Jim Mulder z/OS Diagnosis, Design, Development, Test IBM Corp. Poughkeepsie NY ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
