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 amode(31)
What do you understand by psb and acb?
How to know whether the module is dynamical or statistical?
Write some characteristics of cobol as means of business language.
IF I mention stop run in CICS what happens?
What are literals?
how do you reference the printer file formats from cobol programs
In which area will you utilize 88 level items in cobol?
What are the different data types in cobol?
explain sorting techniques in cobol program?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is perform what is varying?
How are the next sentence and continue different from each other?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
what is search and searchall?what is the diffrence between them?give an best example?