View previous topic :: View next topic
|
Author |
Message |
selvamphigai
New User
Joined: 22 Jan 2010 Posts: 11 Location: chennai
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Look for CEEGTST in
Language Environment Programming Reference SA22-7562 |
|
Back to top |
|
|
selvamphigai
New User
Joined: 22 Jan 2010 Posts: 11 Location: chennai
|
|
|
|
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 |
|
|
|