Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
maximum size of cobol internal table ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
Rameshs

New User


Joined: 15 Jun 2005
Posts: 49
Location: India, Chennai

PostPosted: Tue Apr 25, 2006 6:21 pm    Post subject: maximum size of cobol internal table ?
Reply with quote

what is the maximum size of an array ?

can i give

01 REC.
02 ENTRY occurs 10000 times indexed by indx.
03....
03...

Note: Each row is 40 bytes.
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3265
Location: Charlotte,NC USA

PostPosted: Tue Apr 25, 2006 6:32 pm    Post subject: Re: maximum size of cobol internal table ?
Reply with quote

16,777,215 bytes.

See here.
Back to top
View user's profile Send private message
a027412

New User


Joined: 05 Jul 2007
Posts: 19
Location: Chennai

PostPosted: Fri Sep 12, 2008 6:58 am    Post subject: Reply to: maximum size of cobol internal table ?
Reply with quote

SuperK, Could you please give the count in number of occurences. Is 16,777,215 bytes is equal to 16,777,215 occurences???
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8652
Location: 221 B Baker St

PostPosted: Fri Sep 12, 2008 7:23 am    Post subject:
Reply with quote

Hello,

To get the number of occurrences, divide 16,777,215 by the length of an occurrence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1