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
Whats the difference between search & search ALL?
explain sorting techniques in cobol program?
What type of SDLC u followed? Why?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is redefines clause in COBOL?
How to remove 2 duplicate records and copy only one using job control language?
What kind of error is trapped by on size error option?
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 are the different data types in cobol?
What is report-item in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between comp and comp-3 usage?