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


Please Help Members By Posting Answers For Below Questions

What is the difference between structured cobol programming and object alternativelyiented cobol programming?

699


Whats the difference between search & search ALL?

5236


HOw can I get the negative sign while deduct high value from low value

1779


What is Pic 9v99 Indicates in COBOL?

715


how to move the records from file to array table. give with code example

2209






Name the sections present in data division.

691


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1757


Can you please let me know the centre name of INS certification in Kolkata.

1708


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1895


Define cobol?

854


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

687


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.

3706


how do you reference the rrds file formats from cobol programs

785


What is the problem of ordered sequential files access?

690


Write a program that uses move corresponding.

664