View previous topic :: View next topic
|
Author |
Message |
chandrakanta
New User
Joined: 28 Nov 2011 Posts: 11 Location: india
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
chandrakanta
New User
Joined: 28 Nov 2011 Posts: 11 Location: india
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Best to do all of them :-)
Do you mean that you want to know which are still outstanding for a recompile? |
|
Back to top |
|
|
chandrakanta
New User
Joined: 28 Nov 2011 Posts: 11 Location: india
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|