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 default value(s) for an initialize? What keyword will allow for an override of the default?
What are different data types in cobol?
Name the sections present in data division.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the difference between PIC 9.99 and PIC9v99?
In which area will you utilize 88 level items in cobol?
How do u write test cases?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Mention the guidelines to write a structured cobol program?
What are the various section in data division and briefly explain them.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
what is search and searchall?what is the diffrence between them?give an best example?