Page 1 of 1

Multidimensional array in COBOL

PostPosted: Wed Jul 15, 2015 10:48 am
by tjegan
Hi All,

Can anyone please let me know where i can get the maximum dimensional can be used for the below cobol types

ECOBOL(Various versions)
COBOL ii
Microfocus cobol

Re: Multidimensional array in COBOL

PostPosted: Wed Jul 15, 2015 2:10 pm
by NicC
Apart from the fact that COBOL does not use the term array you should find the information in the various manuals under some heading like 'Compiler Limits'.

Re: Multidimensional array in COBOL

PostPosted: Wed Jul 15, 2015 2:35 pm
by BillyBoyo
If by ECOBOL you mean Enterprise COBOL, they conform to the COBOL 85 Standard. If COBOL ii is COBOL II, that will also be the case for the final release (and perhaps earlier). Micro Focus (two words) will at least conform to the Standard as well. There are several Micro Focus COBOL compilers, check for the specific one you are interested in.

Why do you want to know?

Re: Multidimensional array in COBOL

PostPosted: Wed Jul 15, 2015 8:35 pm
by David Jackson
As always you can find what you need in the IBM manuals.
You just need to go read.

Suggest you go look at this:
http://www-01.ibm.com/support/knowledgecenter/SS6SG3_5.2.0/com.ibm.cobol52.ent.doc/migrate/igymapxg001.html?lang=en

I dare say the same exists for Micro Focus COBOL.