View previous topic :: View next topic
|
Author |
Message |
RAJ1965
New User
Joined: 07 Aug 2006 Posts: 6
|
|
|
|
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 |
|
|
phetu
New User
Joined: 19 Aug 2006 Posts: 13 Location: Canada
|
|
|
|
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 |
|
|
Steve1226
New User
Joined: 24 Aug 2006 Posts: 3 Location: USA
|
|
|
|
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 |
|
|
|