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 is the syntax of redefine?
Explain the syntax of redefine?
Define redefine?
Define sort?
Explain the difference between section, paragraph and sentences?
Explain the input procedure and output procedure?
What is the actual use of fillers?
What is sort? And its syntax?
What are fillers?
Define perform? And its types?
What are the types of perform?
Explain the difference between comp & comp-3?
What is comp?
What is the syntax of sort?
What is input procedure?