Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us