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 in COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
chandrakanta

New User


Joined: 28 Nov 2011
Posts: 11
Location: india

PostPosted: Fri Aug 10, 2012 9:44 am    Post subject: S878 abend in COBOL
Reply with quote

Hi All,

I am facing S878 abend in some programs which are not compiled with CO2BI31 adressing mode.After only job fails i come to know and doing fix by compiling it with CO2BI31 .Is there any way so that i can know beofore ,this perticular program should be compile with co2bi31 addresing mode.

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

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 10, 2012 11:27 am    Post subject:
Reply with quote

What is "co2BI31" addressing mode? Did you mean AMODE=31?

What is the reason-code along with S878? And have you had a chance to search the Forum for S878?
Back to top
View user's profile Send private message
chandrakanta

New User


Joined: 28 Nov 2011
Posts: 11
Location: india

PostPosted: Fri Aug 10, 2012 12:20 pm    Post subject:
Reply with quote

Hi Anuj,

I have googled it ,i saw some posts which indicates running out of memory. We are using endevour for compiling ,so when i compiled with PROC OPT='CO2BI31' it works fine. These cases are happening when there is a migration to production.So i want to know how can we find out whcih program should be compile with CO2BI31 proc option.

Thanks,
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7233

PostPosted: Fri Aug 10, 2012 1:07 pm    Post subject: Reply to: S878 abend
Reply with quote

Best to do all of them :-)

Do you mean that you want to know which are still outstanding for a recompile?
Back to top
View user's profile Send private message
chandrakanta

New User


Joined: 28 Nov 2011
Posts: 11
Location: india

PostPosted: Fri Aug 10, 2012 1:36 pm    Post subject:
Reply with quote

Hi Bill,

Any way to know that a perticular program should compile with PROC OPT= 'CO2BI31' ,because there are so many programs which are not compile with CO2BI31 but there are no issues with them.

Thanks ,
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7233

PostPosted: Fri Aug 10, 2012 1:52 pm    Post subject: Reply to: S878 abend
Reply with quote

Can you explain a bit about how your programs typically run?

Is it EXEC PGM=main
main with dynamic call to subprograms

Or something else?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 10, 2012 1:54 pm    Post subject:
Reply with quote

Hi chandrakanta,

Suggest you put this question to someone at your shop or to your site-suport group for endevour. To choose or not to choose "PROC OPT= 'CO2BI31' " is very site-specific.

A program attribute that refers to the address length that a program is prepared to handle upon entry is address-mode - it's to the user to pick his choice. If I need to choose AMODE, AMODE=ANY would be the choice but then it does not apply to your programs right away and mentioning it here is a moot point. Suggest 'gain, please talk to your site-suport group for endevour.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7233

PostPosted: Fri Aug 10, 2012 2:09 pm    Post subject: Reply to: S878 abend
Reply with quote

chandrakanta,

I've just re-read your first reply to Anuj. This is coming to light when you compile for Production?

You will want compile options in Production which are the same for all modules - there can be rare exceptions.

All "the cycle" up to Production should use the same compile options.

Else, you run the risk of a mess. Like you have got.

Between technical support and the development groups, you need to decide on the options, test them out, then enforce them.

Which Cobol are you actually using?
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
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am


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