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
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What rules are to be followed while using the corresponding options?
How you can characterize tables in cobol?
What is amode(31)
HOw can I get the negative sign while deduct high value from low value
how do you reference the esds vsam file formats from cobol programs
What is redefines clause in COBOL?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the use of intialize verb?
) How do u handle errors in BMS macro?
How arrays can be defined in COBOL?
how do you define single dimensional array and multidimensional array in your cobol?
Write a program that uses move corresponding.
How do define dynamic array in cobol.
How do we get current date from system with century in COBOL?