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 is amode(31)
How to print 10 to 1 if the input have only 10 digit number?
What is amode(24)?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the Purpose of Pointer in the string?
Name the divisions, which are available in a cobol program?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the difference between PIC 9.99 and 9v99 in COBOL?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Write some characteristics of cobol as means of business language.
What rules are followed by the search verb.
How you can read the file from bottom?
A table has two indexes defined. Which one will be used by the SEARCH?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue