I have a rexx exec (actually, a QMF proc) that runs an edit macro against a dataset. When I run this exec online it works perfectly fine every time. When I run it in batch, I get an rc=-3. Any ideas would be greatly appreciated.
The macro is pretty simple, the dsn is a report and the header...
Kevin, Thanks. That was exactly the problem. When first started trying to write to the intrdr we were dynamically allocating a dd and that alloc and free were still in there. Removed those from the proc and it submits my JCL everytime now.
I'm having an issue with a DB2 stored procedure that's written in rexx. I need to submit a batch job upon certain update to a column in table. I defined a trigger to call my stored proc. I've added a dd card "//INTRDR DD SYSOUT=(A,INTRDR),DCB=(RECFM=F,LRECL=80)" to my stored procedure address...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.