How to read records from flat file in reverse order through
COBOL program?

Answer Posted / shrik

Reading the records into a buffer (array) and using it in
reverse order would be the first idea that comes to mind but
that way doesnt work for file with millions of records.

Is This Answer Correct ?    18 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2656


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1520


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2101


How do you differentiate between cobol and cobol-ii?

651


Explain the configuration section of a cobol program with examples of syntax.

655






What is the LINKAGE SECTION used in COBOL?

885


Which is not true about evaluate statement

1567


Why did you choose to work with ibm mainframe cobol programming?

627


What are the different open modes available in cobol?

713


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2728


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

704


how do you reference the fixed unblock file formats from cobol programs

705


how to access the file from prodution from changeman tool and to submit a file to production

6680


Write a program to explain size error.

669


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.

928