how to use arrays

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

how to use arrays

Postby sunilkumar1244 » Tue Jul 21, 2009 6:01 pm


I need heip to know the proprer syntax to use and declare indexed and subscript arrays.

Please help me out..

Posts: 4
Joined: Tue Jul 21, 2009 5:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to use arrays


Re: how to use arrays

Postby dick scherrer » Wed Jul 22, 2009 1:50 am


The syntax can be the same except an indexed array specifies "INDEXED BY".

Suggest you spend some time in the COBOL Language Reference manual: ... 0/CONTENTS?

The flashlight/tubelight near the top left provides search capability for the manual.

Suggest you bookmark or download the manual as you should use it often.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Return to IBM Cobol


  • Related topics
    Last post