Driver applications for debugging procedures
You can write a small driver application that calls the stored procedure as a subprogram and passes the parameter list that the stored procedure supports. You can then test and debug the stored procedure as a normal Db2 application under TSO.
Using this method, you can use TSO TEST and other commonly used debugging tools.
Restriction: You cannot use this technique for SQL procedures