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

S878 abend in COBOL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Superior Member


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

PostPosted: Fri Aug 10, 2012 11:27 am
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2012 1:07 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2012 1:52 pm
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

Superior Member


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

PostPosted: Fri Aug 10, 2012 1:54 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2012 2:09 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts ISAM and abend S03B JCL & VSAM 10
Search our Forums:

Back to Top