can u plz expain me how to declare dynamic array? what is
the meaning of depending on clause in dynamic array?
Answer Posted / amarnadh reddy
When a table of variable size is required, the occurs
depending clause may be used.
01 A1 PIC 99.
01 REC-1.
05 P1 PIC XX.
05 P2 PIC 99 OCCURS 1 TO 90 TIMES DEPENDING ON A1.
Here depending on the value of the data name A1 the size of
P2 Will be decided. It can be anything between 1 and 90.
| Is This Answer Correct ? | 31 Yes | 4 No |
Post New Answer View All Answers
What is Pic 9v99 Indicates in COBOL?
What is the LINKAGE SECTION used in COBOL?
Explain about different table spaces.
Write the code implementing the perform … varying.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
How do you define a variable of comp-1 and comp-2?
What are the different rules to perform a Search?
Which division and paragraphs are mandatory for a COBOL program?
In COBOL programming, what is PERFORM? What is VARYING?
Explain how you can characterize tables in cobol?
In which area will you utilize 88 level items in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What are the cobol coding sheets?
Write a program that uses move corresponding.
how to move the records from file to array table. give with code example