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

seqence numbers in cobol

2732


What is sort?

605


Define perform?

595


Explain the difference between search and searchall?

582


Explain what all the conditiones required for using open opcode on a file?

586






Explain the input procedure and output procedure?

587


why icetool be used in programmer view?

2225


Explain the difference between comp & comp-3?

625


What is comp?

651


What is input procedure?

664


What is the syntax of redefine?

614


Explain the syntax of redefine?

586


What are fillers?

606


Explain how to detect record is locked in cobol/400? What is the solution for that?

604


Define perform? And its types?

597