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
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
) How do u handle errors in BMS macro?
How you can characterize tables in cobol?
example for sub strings ? and refernce modifications whit output pls
Mention the guidelines to write a structured cobol program?
How do u write test cases?
What the difference is between continue and next sentence?
What are declaratives and what are their uses in cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Why occurs cannot be used in 01 level in COBOL?
How do you define a variable of comp-1 and comp-2?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
How you can read the file from bottom?
how do you reference the printer file formats from cobol programs