I looked in SMP/E for z/OS 1.12. There is no TWAIT macro in it. So it should not be in any of the z/OS supplied libraries.
On Tue, Nov 26, 2013 at 10:47 AM, Blaicher, Christopher Y. < [email protected]> wrote: > There was a macro that came with BTAM called TWAIT that provided an index > to the ECB that was posted. You can then use that to do an indexed branch. > > &NAME TWAIT &RREG,&ECBLIST= > ********************************************************************** > * THIS MACRO IS FROM THE BTAM ACCESS METHOD. IT WAITS FOR 1 ECB * > * TO BE POSTED. * > * * > * &RREG - ON EXIT HAS THE ADDRESS OF THE POSTED ECB * > * CANNOT BE R13, R14, R15, R0, R1 * > * * > * &ECBLIST - ADDRESS OF ECB LIST TO WAIT ON * > * * > * ON EXIT: * > * &RREG - ADDRESS OF THE POSTED ECB * > * R15 - OFFSET IN ECB LIST TO THE ECB (0,4,8,...,N*4) * > * TO CONVERT TO INDEX (0,1,2,...,N) DO THE FOLLOWING: * > * SRL R15,2 * > * * > ********************************************************************** > > I don't know if it is still distributed in any DLIB anymore. It was in > the MVS 3.8 release, so you can get it from there, I assume. > > Chris Blaicher
