Michael, When you mention testing the "RTM" routine, I have to ask, do you mean the FRR routine or the RMTR? I think most of the responders assume you meant the FRR. If you meant the RMTR, that is much more difficult, because you need a way to ensure that one or more SRB's remain that haven't been dispatched yet. There is a possible way to do this, but be aware that it should NEVER be done on a production system, and could be risky even on a general purpose test system (but that is true of all SRB related testing). All the testing I have done with this sort of code has been run on a z/OS system that is running as a VM guest that I have total control over, to the point of being able to set VM trace traps to interrupt the whole machine. The procedure I have used could result in the hanging of the target address space, and/or the whole system, so I am hesitant to provide much detail, other than to say that it requires multiple SRB's that perform a spin loop, and use of the PURGEDQ macro to drive the RMTR routine.
=============================================== Wayne Driscoll OMEGAMON DB2 L3 Support/Development wdrisco(AT)us.ibm.com =============================================== From: Micheal Butz <[email protected]> To: [email protected] Date: 10/27/2011 08:37 PM Subject: Testing g RTM routine Sent by: IBM Mainframe Discussion List <[email protected]> Hi, Would anyone know how to test the RTM routine of a SRB when I issue a schedule even though SRB activity is asynchronous it takes off automatically ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

