Hi I am getting SC03 abend.
I have written a new program wherein I call a module (I think ASM pgm which does reading of VSAM file - this is master module)
my logic works properly and gives required results but the job gets MAXCC = 12 after the job is complete.
I access VSAM files in new program
Joined: 14 Jan 2008 Posts: 2502 Location: Atlanta, Georgia, USA
Here's some of what I found -
1. A data set could not be closed by the control program, because the DCB had been erroneously modified. ISAM file -Bad block size.
2. 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.
3. A SC03 indicates that a data set is open and cannot be closed
Do you pass the characteristics of the target VSAM file to this Assembler program?
Look through other source code in your shop and find an example to use as a template.
As mentioned by Bill, those are the reasons for this abend.
Also, I suggest you to double check your new program to ensure there are no explicit abends are made by you for the sake of testing purpose. Hence as Dick said please share the job log to know more about what went wrong.