Okay I discovered the problem. I needed EXECUTE PROCEDURE WITH GRANT privs to daisy chain procedures together. Due to the need to grant access by the procedure to the other procedure as the caller.
Addendum, I also had to extend the first macro to include an OPEN Cursor1; statement otherwise I get a null dataset from the first macro. Happy days!
Okay I discovered the problem. I needed EXECUTE PROCEDURE WITH GRANT privs to daisy chain procedures together. Due to the need to grant access by the procedure to the other procedure as the caller.
Addendum, I also had to extend the first macro to include an OPEN Cursor1; statement otherwise I get a null dataset from the first macro. Happy days!