Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Internal Table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Internal Table
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: 8195
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 11, 2010 6:29 pm    Post subject:
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: 2445
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 11, 2010 6:42 pm    Post subject:
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    Post subject: Reply to: Internal Table
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us