IBM COBOL400 Question:

Code how to read 5th element of the array?

IBM COBOL400 Interview Question
IBM COBOL400 Interview Question

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).


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?