MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compilation of subroutine while increasing the table size

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mahapatrasoumya
Beginner


Joined: 21 Aug 2006
Posts: 8
Topics: 2
Location: Chennai

PostPosted: Mon Aug 21, 2006 8:34 am    Post subject: Compilation of subroutine while increasing the table size Reply with quote

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
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Mon Aug 21, 2006 9:26 am    Post subject: Reply with quote

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
View user's profile Send private message
mahapatrasoumya
Beginner


Joined: 21 Aug 2006
Posts: 8
Topics: 2
Location: Chennai

PostPosted: Tue Aug 22, 2006 8:28 am    Post subject: Reply with quote

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
View user's profile Send private message
mahapatrasoumya
Beginner


Joined: 21 Aug 2006
Posts: 8
Topics: 2
Location: Chennai

PostPosted: Tue Aug 22, 2006 8:29 am    Post subject: Reply with quote

neways teh programs being dynamically called recompilation is not required.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Aug 22, 2006 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mahapatrasoumya
Beginner


Joined: 21 Aug 2006
Posts: 8
Topics: 2
Location: Chennai

PostPosted: Tue Aug 22, 2006 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
js01
Beginner


Joined: 13 Oct 2005
Posts: 84
Topics: 32
Location: INDIA

PostPosted: Tue Aug 22, 2006 11:03 pm    Post subject: Reply with quote

Mahapatrasoumya,

Is your program batch or online(cics) ? if online Is BLL is been used in your called program?
Back to top
View user's profile Send private message
mahapatrasoumya
Beginner


Joined: 21 Aug 2006
Posts: 8
Topics: 2
Location: Chennai

PostPosted: Wed Aug 23, 2006 1:03 am    Post subject: Reply with quote

it is a batch IMS program
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Aug 23, 2006 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
balasarathi
Beginner


Joined: 24 Aug 2006
Posts: 4
Topics: 2

PostPosted: Thu Sep 07, 2006 6:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group