IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Internal Table


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
selvamphigai

New User


Joined: 22 Jan 2010
Posts: 11
Location: chennai

PostPosted: Thu Mar 11, 2010 6:22 pm
Reply with quote

Code:
02  WS-DET-TEXT  OCCURS 1 TO 99999 TIMES DEPENDING ON SUB.


whenever no. of records exceed the count 99999 the pgm abends saying that internal table size exceeded. is ther any way to decide the no of records at run time?

because beforehand we may not know how many record will be coming
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 11, 2010 6:29 pm
Reply with quote

This looks like COBOL code -- is it? Why did you post in the JCL forum?

Assuming it is COBOL, no you cannot declare a variable number of occurrences -- you have to decide when you compile the program how many occurrences to allow for.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 11, 2010 6:42 pm
Reply with quote

Look for CEEGTST in

Language Environment Programming Reference SA22-7562
Back to top
View user's profile Send private message
selvamphigai

New User


Joined: 22 Jan 2010
Posts: 11
Location: chennai

PostPosted: Thu Mar 11, 2010 6:47 pm
Reply with quote

oh sorry ,I was looking for some ans in JCl and by mistake i posted my query in JCL forums .Thanks for the reply.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top