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 lines are repeated over and over throughout the report. The macro does X ALL on the header lines, then finds first occurance of the header, deletes all X, and, finally, ends, to save the dsn.
The macro is pretty simple, the dsn is a report and the header lines are repeated over and over throughout the report. The macro does X ALL on the header lines, then finds first occurance of the header, deletes all X, and, finally, ends, to save the dsn.