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: 1783
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
This topic is locked: you cannot edit posts or make replies. Limit access to certain RACF group cvnlynn CLIST & REXX 5 Wed Aug 23, 2017 2:28 am
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

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