Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 7314

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: 7314

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: 7314

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
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us