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 

Internal table size in a program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A
View previous topic :: View next topic  
Author Message
basheerbaba
Beginner


Joined: 03 Jan 2007
Posts: 13
Topics: 6
Location: Hyderabad,India

PostPosted: Wed Feb 28, 2007 12:11 am    Post subject: Internal table size in a program Reply with quote

Hi,

"automatically review internal program tables for potential overflow. Produce automatic notification if a threshold has been reached".

the above lines are my problem statment, is there any way to check the table overflow with out changing all the programs in the applilcation system.

Thanks in advance.
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 11834
Topics: 74
Location: San Jose

PostPosted: Wed Feb 28, 2007 9:40 am    Post subject: Reply with quote

basheerbaba,

Look up the compiler option SSRANGE. Search the forum for that word and you will find many examples.


Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
basheerbaba
Beginner


Joined: 03 Jan 2007
Posts: 13
Topics: 6
Location: Hyderabad,India

PostPosted: Wed Apr 25, 2007 7:16 am    Post subject: Reply with quote

Hi Kolusu,

Thanks for your reply, here my job should not abend, I just need to get the warning message. whenever the table size reaches its size limit.

Thanks,
Basheer.
Back to top
View user's profile Send private message Yahoo Messenger
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Apr 25, 2007 7:28 am    Post subject: Reply with quote

then you need to put code in to check. I would suggest that before you 'ADD' an item, check the table size (counter, whatever) to insure that the overflow will not be reached. Hopefully, you only add items in a few places and your re-write will not be that complicated.

Better than trying to trap a SOC4 would be to put a little logic in to maintain a count of current items and when you add an item, compare the current-item-count to the total-possible-table-count.
_________________
Dick Brenholtz
American living in Varel, Germany
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 -> Interview Q & A 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