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
 

 

System Abend Code S878
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Feb 18, 2008 2:01 pm    Post subject: System Abend Code S878
Reply with quote

Hi All,

I am getting an error of S878 abend. When I searched for the same I came to know that the reason for this error is

"An error happened while executing a STORAGE or a RC or RU form GETMAIN macro instruction. Either more virtual storage was requested than was available, or a negative amount of storage was requested. "

Can any one please help me out to remove the error?
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Feb 18, 2008 2:46 pm    Post subject:
Reply with quote

try increasing your region size. You can do this either on the JOB card or as a Step parm.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Feb 18, 2008 3:10 pm    Post subject:
Reply with quote

Can you please provide the Syntax for the same?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Feb 18, 2008 3:49 pm    Post subject:
Reply with quote

sorry, refer to the jcl manual and your shop standards. each shop has a default region size as well as jes user exits which can allow/disallow inappropriate allocations.

you might get away with just plugging values until your job runs - or taking the advice of some know-it-all on this board - but I suggest you talk to someone in either your systems-dept or a knowledgeable co-worker.

keep in mind, you are not asking them to solve a problem. you know the solution. an 878 means you have not allocated enough memory for your job. you are only asking what is allowed/not allowed in your shop. Often an increase in default resource allocations also means a change your job class. and you won't get that kind of info from this (or any) board.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Feb 18, 2008 3:55 pm    Post subject:
Reply with quote

Thanks Dick for your explanation.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Feb 18, 2008 3:58 pm    Post subject:
Reply with quote

The problem is a bit weird type.

Previously when I was using a different Load Library, the program was executing fine.

But when I changed the Load Library, the program is abending with the above error.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Tue Feb 19, 2008 10:24 am    Post subject:
Reply with quote

Can any one kindly inform why am I getting the error while using the Endevor Load Library.

The error is removed when I am using my personal Load Library. ( I am creating the Load module by compiling my COBOL code).

The message that I am seeing at the SYSOUT is:
The system or user abend S878 R=00000010 was issued.


As per Dick's suggestion, I have also changed the Job Class but to no avail.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 19, 2008 12:43 pm    Post subject:
Reply with quote

no job class, ...........region size
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Feb 19, 2008 12:53 pm    Post subject: Reply to: System Abend Code S878
Reply with quote

Are You sure that the program stored in the other library has been built properly ?

if the same job works with one "version" of the program,
i wouldn 't spend time investigating anything else
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Tue Feb 19, 2008 12:59 pm    Post subject:
Reply with quote

Hi Enrico,

We can't provide the personal Load library name for a code that can be moved to the Production.

For that purpose, we are to put the load library for the code after it is staged in Endevor.

Only the loadlibraries are changed and all other parts remained the same.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Feb 19, 2008 1:05 pm    Post subject: Reply to: System Abend Code S878
Reply with quote

I was not telling to use your personal library for production use icon_confused.gif

I was following a logical path

if the load library the only difference between a go and a nogo ....
this implies that the program chain used is different

again check the build process for the production
copy books,programs, subroutines
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Tue Feb 19, 2008 2:33 pm    Post subject:
Reply with quote

Hi Enrico,

I checked out in details the build process for the production. All the things are same. I have not made any changes for the production type code.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Feb 19, 2008 2:36 pm    Post subject: Reply to: System Abend Code S878
Reply with quote

the first stupid check to make is
are the lengths of the two load modules the same ??
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Tue Feb 19, 2008 2:52 pm    Post subject:
Reply with quote

Yes, the lengths of the two load modules are the same.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 19, 2008 2:59 pm    Post subject:
Reply with quote

ok, batch or cics?

what does this module do?

how is it invoked? PGM=yourprgm
or pgm=IKJE:::
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Feb 19, 2008 3:03 pm    Post subject: Reply to: System Abend Code S878
Reply with quote

Then the only suggestion I can give You at this pont
is to check all the differences between the two environments

the program again expecially for dynamically called subroutines
in case of doubt about the program itself run an amblist onn both load modules to check the dates

jcl
input/update datasets
workfiles
...
add as many as You can imagine

good luck
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Tue Feb 19, 2008 3:05 pm    Post subject:
Reply with quote

This is batch and the program is invoked using IKJEFT01.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 19, 2008 3:39 pm    Post subject:
Reply with quote

there was probably an ief or similar msg provided along with the s878.

are you using a steplib?

when is the 878 occuring. immediately upon execution, after a little while, long while?

I (we) are trying to determine what requested the getmain, so that we can provide a better resolution to your problem.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Tue Feb 19, 2008 3:46 pm    Post subject:
Reply with quote

Hi,

The IEF or similar message provided along with the S878 is as under:
Code:

CEE3250C The system or user abend S878  R=00000010 was issued.                 
         From compile unit XXXXXXXX at entry point XXXXXXXX at compile unit offset +00002FA4 at entry offset +00002FA4
          at address 23873944.                                                 


Yes I am using a Steplib.

I am getting the 878 after a little while.
Back to top
View user's profile Send private message
Guru Bob

New User


Joined: 31 Jan 2008
Posts: 21
Location: Malaysia

PostPosted: Tue Feb 19, 2008 4:42 pm    Post subject: Reply to: System Abend Code S878
Reply with quote

Check the following:

1. DATA(31/24) compile option - I hope it is DATA(31) or not specified then it is DATA(31) b y default.
2. CHeck your REGION size on your jobcard tell us what it is. REGION=nnn
3. You have not said if using QSAM or VSAM files in job. If using QSAM check the BUFNO= parameter.
4. CHeck the number of sequential files - how many.
5. What is the BLKSIZE of the QSAM files INPUT/OUTPUT.
6. are you using a REGION=on a STEP execution?
7. check with your sysprog to see what you can specify for REGION card.
If point 1 is 24 then if you have large number of BUFFERS or files then you will get a S878.
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
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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