It doesn’t have a wait bit there is only one task waiting on it The main task has 2 ECB’s in the list One for the EZASMI SELECT and one for the communication ECB
The one task that got dispatched has a number of ECB’s waiting Things is 1 out of 4 times the posted logic works > On Dec 6, 2018, at 1:42 PM, Bob Raicer <r...@raicer.com> wrote: > > The scenario you describe creates, at the minimum, race conditions > and you can (and likely will) get a S301 ABEND. (Attempting to > WAIT on an ECB which already has its WAIT bit set to one).