View previous topic :: View next topic
|
Author |
Message |
dipti85 Currently Banned New User
Joined: 11 Jun 2009 Posts: 6 Location: chennai
|
|
|
|
Hi,
My doubt is on which situation we need to use arrays or table in cobol.can we do the same work with the help of files? I have confusion in table concept in cobol? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Hi,
Quote: |
My doubt is on which situation we need to use arrays or table in cobol. |
A table is the COBOL equivalent of arrays. You can have one, two or three dimensional tables.
The situation is the same to that of using tables/arrays in other programming languages.
To know more about COBOL tables check the manuals link. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Which situation would you need to use tables or arrays in whatever language(s) you already know? COBOL is no different. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Aaru,
Quote: |
You can have one, two or three dimensional tables. |
Enterprise COBOL now allows 7 dimensions and a max table size of 128MB. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Hi Jack,
Quote: |
Enterprise COBOL now allows 7 dimensions and a max table size of 128MB. |
Thanks a lot for the information. |
|
Back to top |
|
|
|