Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8057
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: 2433
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 unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us