IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

S878 ABEND while opening the files


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top