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 

odo

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


Joined: 05 Apr 2005
Posts: 131
Topics: 64
Location: chennai

PostPosted: Wed Feb 15, 2006 9:02 am    Post subject: odo Reply with quote

I have a WS declaration as below

WS-COUNT PIC 9(4)

WS-TAB OCCURS 1 TO 20 TIMES DEPENDING ON WS-COUNT

ideally speaking if i access 21st entry the pgm shud abend with S0C4 But it is not happening
Can you pls tell how it works
As i understand from COBOL Manuals, cobol is not like C which has MALLOC

We are using IBM VS COBOL II Release 4.0 09/15/92
Pls explain
_________________
deepa
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Feb 15, 2006 9:14 am    Post subject: Reply with quote

deepa12,

Read this topic and you will understand as to why your program is not abending

http://www.mvsforums.com/helpboards/viewtopic.php?t=5242&highlight=ssrange

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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