Answer Posted / sivakumar s
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 ? | 77 Yes | 14 No |
Post New Answer View All Answers
Explain how to update data area in cobol 400 program?
What is the syntax of redefine?
What is sort?
What is the syntax of sort?
What is sort? And its syntax?
Define redefine?
Explain the output procedure?
Define sort?
Explain the syntax of redefine?
How to update data area in cobol 400 program?
Explain the difference between comp & comp-3?
Explain the input procedure?
Explain what all the conditiones required for using open opcode on a file?
Explain the difference between search and searchall?
How to detect record is locked in cobol/400?