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
 
S878 ABEND while opening the files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
RAJ1965

New User


Joined: 07 Aug 2006
Posts: 6

PostPosted: Thu Aug 24, 2006 7:15 pm    Post subject: S878 ABEND while opening the files
Reply with quote

In my COBOL program I am using 28 input files and 28 output files.
When I submit the job I am getting S878 abend while opening the files.
Can anyone tell me what could be the problem and how to resolve this
Back to top
View user's profile Send private message

phetu

New User


Joined: 19 Aug 2006
Posts: 13
Location: Canada

PostPosted: Thu Aug 24, 2006 9:17 pm    Post subject:
Reply with quote

You are running out of memory. So you would have to increase the memory size of your job, usually M= on your jobparm card.
/*JOBPARM T=9999,L=999,M=5120

Another modification that you could do is to put BUFFNO=1 to each of your file. This will allocate only 1 buffer per file instead of the default (I think it is 15) per file.

//ABCDE DD DSN=FILE1.FILE2.FILE3,DISP=SHR,BUFFNO=1

Patrick
Back to top
View user's profile Send private message
Steve1226

New User


Joined: 24 Aug 2006
Posts: 3
Location: USA

PostPosted: Thu Aug 24, 2006 9:52 pm    Post subject: Re: S878 ABEND
Reply with quote

Several Ways that this can be accomplished.

For each VSAM file cod AMP=('BUFNI=3','BUFND=1') or
Code a REGION=0M for the program.
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts Cics opening with mnc in Pune enikhilk Mainframe Jobs 0 Thu Mar 29, 2018 10:56 am
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
No new posts How to build one file from two input ... daniele DFSORT/ICETOOL 5 Tue Feb 27, 2018 6:45 pm

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