Why is the job ending with a SC03 abend?
An SC03 abend usually occurs after a step has completed, sometimes even after producing all the expected output.
Still, the abend frequently inhibits execution of subsequent steps, and should be resolved in any case.
IBM documentation of System Codes has the following explanation for an SC03 abend:
A task tried to end normally by issuing a RETURN macro or by branching to the return address in register 14.
The task was not ready to end processing because the task had opened one or more data sets that had not been closed.
When this abend occurs in a VISION:Report application there are multiple things you can check:
If having problems identifying the errant code,
add LIST=YES,LISTOPT=YES,TRACECT=1,SPIE=YES
to the OPTIONs in the program.
Add the command TRACE ALL before the first executable statement.
If this does not help resolve the problem, please open an issue and we will be happy to help.
Be sure to attach the complete output from the TRACE run above and the SYSUDUMP output to the issue.