How to read records from flat file in reverse order through
COBOL program?
Answer Posted / sreejith
i think it is also possible by using access mode dynamic.
first randomly point last record from the file using START
option. after you start read record in reverse order by
using READ PREV option until header of the file reached
Is This Answer Correct ? | 18 Yes | 26 No |
Post New Answer View All Answers
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
For rewrite, why is it mandatory that file needs to be opened?
what is the use of outrecord?
What is the utilization of copybook in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What is Pic 9v99 Indicates in COBOL?
What guidelines should be followed to write a structured cobol prgm?
Why occurs cannot be used in 01 level in COBOL?
What are declaratives and what are their uses in cobol?
What is redefines clause in COBOL?
what happens if parmparameter passes zero bytes to the program
What is the difference between structured cobol programming and object alternativelyiented cobol?
) How do u handle errors in BMS macro?
What is the difference between external and global variables in COBOL?
What is amode(24)?