Answer Posted / rajesh
Array can be declared in cobol using the OCCURS clause.
Syntax is,
For one dimensional array,
01 Arrays.
05 Var1 PIC X(10) Occurs 10 times.
For two dimensional array,
01 Arrays.
03 AAA Occurs 10 times
05 BBB Occurs 10 times
07 Value PIC 9(3).
Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
What are fillers?
How to update data area in cobol 400 program?
Explain the input procedure?
Explain how to update data area in cobol 400 program?
Explain what all the conditiones required for using open opcode on a file?
Define redefine and its syntax?
What is sort? And its syntax?
How to detect record is locked in cobol/400? What is the solution for that?
What is comp?
Define sort?
Define perform?
Explain the output procedure?
What is sort?
Explain the difference between search and searchall?
What is the actual use of fillers?