View previous topic :: View next topic |
Author |
Message |
mahapatrasoumya Beginner
Joined: 21 Aug 2006 Posts: 8 Topics: 2 Location: Chennai
|
Posted: Mon Aug 21, 2006 8:34 am Post subject: Compilation of subroutine while increasing the table size |
|
|
Hi,
I am increasing the table size in my program that calls 3 other programs dynamically.
The program now abends with a S0C7 abend in one of the called programs.
Do I need to compile the called programs also. |
|
Back to top |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Mon Aug 21, 2006 9:26 am Post subject: |
|
|
Are you passing the table to the called programs? Do you have to increase their size? I don't see a need to recompile them until you change them
________
DT125
Last edited by coolman on Sat Feb 05, 2011 1:49 am; edited 1 time in total |
|
Back to top |
|
 |
mahapatrasoumya Beginner
Joined: 21 Aug 2006 Posts: 8 Topics: 2 Location: Chennai
|
Posted: Tue Aug 22, 2006 8:28 am Post subject: |
|
|
No the table is not a part of he linkage section but the program still abends with S0C7 abend. I increased the occurence from 500 to 1000.
The program actually calls a date subroutine while passing some value to it.
The ABend-Aid says the problem is with this subroutine itself. |
|
Back to top |
|
 |
mahapatrasoumya Beginner
Joined: 21 Aug 2006 Posts: 8 Topics: 2 Location: Chennai
|
Posted: Tue Aug 22, 2006 8:29 am Post subject: |
|
|
neways teh programs being dynamically called recompilation is not required. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Aug 22, 2006 8:35 am Post subject: |
|
|
mahapatrasoumya wrote: | No the table is not a part of he linkage section but the program still abends with S0C7 abend. I increased the occurence from 500 to 1000.
The program actually calls a date subroutine while passing some value to it.
The ABend-Aid says the problem is with this subroutine itself. |
Mahapatrasoumya,
I am guessing that your program is loading more than 1000 occurrances into the internal table and this overflow might have corrupted the linkage section variables which will lead to S0C7. So make sure that your internal table did not overflow.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
mahapatrasoumya Beginner
Joined: 21 Aug 2006 Posts: 8 Topics: 2 Location: Chennai
|
Posted: Tue Aug 22, 2006 10:17 pm Post subject: |
|
|
No I was stopping the loading of table even before the occurence was 500.
So no question about that...
The reason might be something else |
|
Back to top |
|
 |
js01 Beginner
Joined: 13 Oct 2005 Posts: 84 Topics: 32 Location: INDIA
|
Posted: Tue Aug 22, 2006 11:03 pm Post subject: |
|
|
Mahapatrasoumya,
Is your program batch or online(cics) ? if online Is BLL is been used in your called program? |
|
Back to top |
|
 |
mahapatrasoumya Beginner
Joined: 21 Aug 2006 Posts: 8 Topics: 2 Location: Chennai
|
Posted: Wed Aug 23, 2006 1:03 am Post subject: |
|
|
it is a batch IMS program |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Aug 23, 2006 7:25 am Post subject: |
|
|
mahapatrasoumya wrote: | No I was stopping the loading of table even before the occurence was 500.
So no question about that...
The reason might be something else |
Now if you are stopping before 500 , then I don't understand as to why you have to increase the table in the first place. Did you verify that the contents of the variables are not corrupted before you pass them to the sub-routine?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
balasarathi Beginner
Joined: 24 Aug 2006 Posts: 4 Topics: 2
|
Posted: Thu Sep 07, 2006 6:19 am Post subject: |
|
|
Hi,
Check the variable used in the date routine. Is that variable relaetd to the values that is getting passed from the previous program?.
Are you using any of the values from the array in the linkage section? |
|
Back to top |
|
 |
|
|