I have a sequential file. How do I access a record in this
sequential file randomly in my program ?
Answer Posted / santhosh
write a temporary index file defining unique key, move the
sequential file to that temp index file and access the temp.
index file randomly
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How can you get the ksds file records into your cobol program?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how do you reference the printer file formats from cobol programs
Write a program to enter and display the names of students in a class using the occurs clause.
What is comp-1 and comp-2?
Why would you use find and get rather than to obtain?
Difference between array and sub-script ?
What are declaratives and what are their uses in cobol?
) How do u handle errors in BMS macro?
In COBOL, what is the different between index and subscript?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are all the divisions of a COBOL program?