Code how to read 5th element of the array?

Answer Posted / ggp

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

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

Is This Answer Correct ?    22 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between section, paragraph and sentences?

512


What are the types of perform?

573


Explain the syntax of sort?

561


What is sort?

536


What is the syntax of sort?

544






What are fillers? What is the actual use of fillers? With mall/simple example?

554


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

648


What is comp?

551


seqence numbers in cobol

2664


Explain the difference between comp & comp-3?

549


Explain the difference between search and searchall?

513


Define perform?

522


What is redefine?

557


Explain the syntax of redefine?

520


Explain the output procedure?

579