IBM COBOL400 Question:

Code how to read 5th element of the array?

Tweet Share WhatsApp

Answer:

In COBOL we can directly access the particular index of the
array using subscript.

Eg: Arrayname(5)
or
Move 5 to indx
Arrayname(indx).

Download IBM COBOL400 PDF Read All 19 IBM COBOL400 Questions
Previous QuestionNext Question
How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code?How to update data area in cobol 400 program?