Answer Posted / samay simant
Use the Occurs Depending on clause.
01 College-table
05 Student-table occurs 10 to 20 times depending on
NUM_Stud.
Here the size of array is dependent on Number of students.
Thus this is dynamically created.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What guidelines should be followed to write a structured cobol prgm?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the pertinent COBOL commands?
Which division and paragraphs are mandatory for a COBOL program?
What is comp-1 and comp-2?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
what is amode(24), amode(31), rmode(24) and rmode(any)?
i need a small 3d program using inline and outline.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
In COBOL, what is the different between index and subscript?
What are the rules of the move verb?
How do you reference the fixed block file formats from cobol programs
What is amode(24)?
How many sections are there in data division in COBOL?