Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SC03 abend when access VSAM files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
raviprabhu

New User


Joined: 20 Oct 2006
Posts: 29

PostPosted: Wed Feb 26, 2014 9:48 pm    Post subject: SC03 abend when access VSAM files
Reply with quote

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

Please help me
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 26, 2014 10:25 pm    Post subject:
Reply with quote

Hello,

You ned to provide something for us to use to help you . . .

Where do you see a "MAXCC = 12"? What other diagnostic info is generated?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Feb 26, 2014 10:26 pm    Post subject: Reply to: SC03 abend
Reply with quote

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.

HTH....
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1827
Location: NY,USA

PostPosted: Thu Feb 27, 2014 4:10 am    Post subject:
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us