>TWAIT and >Why not use the EVENTS macro to handle the list of ECBs? I think that it >provides the same functionality, perhaps in a slightly different form.
Both of these strike me as significant overkill for the case of only 2 ECBs. Waiting on an ECB list of 2 ECBs and checking each of the two is very simple. TWAIT does nothing more than checking each of the ECBs are in the list and setting a value in reg 15 and re-entering wait when no ECBs still are posted. Peter Relson z/OS Core Technology Design
