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

Solving System Abend S878


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bachi234

New User


Joined: 15 May 2007
Posts: 6
Location: VA

PostPosted: Tue Feb 19, 2008 8:34 pm
Reply with quote

This problem occurs if the compile parms are different.
I got the same problem and i changed the compile parms and ran it and it went fine.

Thanks.
Back to top
View user's profile Send private message
Guru Bob

New User


Joined: 31 Jan 2008
Posts: 21
Location: Malaysia

PostPosted: Wed Feb 20, 2008 9:02 am
Reply with quote

Ok so the problem solved or still existing?

If using TSO can you not execute it in batch or is it a TSO process.

If TSO then you only have 2m or 4M or 8M usually allocated to TSO. Depends on your sysprogs.

I suspect then you are running below the line with QSAM buffers but not sure why.

Why do you not make a change and display the file DDNAMe as they open successfully and CLOSE under SYSPRINT or similar. LEast it will show you how far you get.

You need to know the BLKSIZE so you can work out how much storage you are using for all the files you are accessing. LOADLIBS and all.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Wed Feb 20, 2008 10:20 am
Reply with quote

Hi Shitij,

I am not moving the Load Library.

I had created a compile JCL for testing purposes using my personal load library. When I used this library, I was able to execute my job successfully.

However, when I staged my component in Endevor, a load library was created for the purpose. But when I am using this loadlibrary to execute my Batch job, my job is abending with S878.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Feb 20, 2008 11:42 am
Reply with quote

So after all You found a difference
the best thing to do is to speak with the endevor support team
looks like it is their job to fix everything up

but to avoid this kind of problems the process used to build entities should be always 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: Wed Feb 20, 2008 12:05 pm
Reply with quote

Hi,

Can any one please let me know how can we code the GETMAIN macro?
Back to top
View user's profile Send private message
bachi234

New User


Joined: 15 May 2007
Posts: 6
Location: VA

PostPosted: Wed Feb 20, 2008 7:21 pm
Reply with quote

Swapnadeep,

You said that you created compile JCL for testing purpose,check with the endevour compile listing and compare the compile parms and you will definitely find the difference.


I think you need to hard code this compile and link edit parms when you are compiling in endeavour.
COMPILE PARMS ===> RENT,ADV,NODYNAM,NOSEQ,DATA(31)
LINK EDIT PARMS ===> AMODE(31),RMODE(24).

I faced the same problem which you faced in test region i could run it with out problem when i staged it in Changeman(in your case it is endeavor) my compile job went fine but when i took the load lib from changeman package and ran the job i got S878 abend.

You can say that you can put REGION=0M in the run jcl and you will solve the problem but its not advicable becz it may not work the same as you did so change the compile parms and runt it i am sure u are gonna solve it..

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

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Thu Feb 21, 2008 9:11 am
Reply with quote

Hi Bachi,

The solution provided by you worked. Thanks a lot... icon_biggrin.gif
Back to top
View user's profile Send private message
xknight

Active User


Joined: 22 Jan 2008
Posts: 117
Location: Liberty city

PostPosted: Thu Mar 06, 2008 2:12 pm
Reply with quote

Just change your region=0M ......then try it....

878 ABEND HAPPENS WHEN IT LAST'S OUT THE SPECIFIED REGION SIZE.
Back to top
View user's profile Send private message
Mistermind

New User


Joined: 08 Feb 2008
Posts: 46
Location: Dublin

PostPosted: Thu Mar 13, 2008 2:15 am
Reply with quote

Your harmless loadlib probably has a default RMODE=24, ie. the loadmodule is loaded at 24-bit address below the 16MB line. The more modern loadlibs probably have RMODE=31, ie. inisisting on loading above the 16MB line, which means your partition requires a larger REGION= size.
Back to top
View user's profile Send private message
mohan tarte

New User


Joined: 01 Nov 2008
Posts: 1
Location: Pune

PostPosted: Sat Nov 01, 2008 7:41 am
Reply with quote

Hi Bachi,

Thanks a lot man!!
We were also able to resolve the S878 error by including those compile options in changeman while compiling the program.

COMPILE PARMS : RENT,ADV,NODYNAM,NOSEQ,DATA(31)
LINK EDIT PARMS : AMODE(31),RMODE(24)
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 -> COBOL Programming Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts ABEND 0717 during starting IMS IMS DB/DC 0
No new posts System add a USER parm when job submi... TSO/ISPF 4
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts What is the most complex abend you've... Mainframe Interview Questions 8
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
Search our Forums:

Back to Top