I have a situation in which it would be a wonderful thing if I could have
multiple tasks waiting for a single event, without having a separate "wait
control block" of some sort for each task. 

Why? I have no control over what the tasks "have" in advance (system exit
situation) and doing a GETMAIN or the like so that each task could have its
own ECB, and then chaining them all together, following the chain with
POSTs, FREEMAINs, etc., etc., would be a real pain, a lot of overhead, and a
real risk of mucking it up.

I know WAIT/POST/ECB does not support multiple tasks waiting on a single
ECB.

I guess that EVENTS does not support this either -- but I don't see it
explicitly in the documentation -- is my assumption correct?

Is there any other way to do this? Some clever use of ENQ or something like
that? Some other z/OS "wait" service besides WAIT and EVENTS?

Thanks,
Charles 

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

Reply via email to