I have a sequential file of 100 records. How do I load the
records into a two dimensional array ?
Answer Posted / neilsh
It should be
01 xyz
05 pqr occurs 2 times indexed by i
07 abc occurs 50 times indexed by j
09 rec pic x(40).
so it would be like 50 occurance of rec and then 2 occurance
of abc
50 + 50 = two divisions
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Which is not true about evaluate statement
A table has two indexes defined. Which one will be used by the SEARCH?
How do we get current date from system with century in COBOL?
Why did you choose to work with ibm mainframe cobol programming?
What are the rules of the move verb?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the difference between structured cobol programming and object alternativelyiented cobol?
In COBOL, what is the different between index and subscript?
What type of SDLC u followed? Why?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is report-item in COBOL?
how to refer the data field?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?