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
What is an in line perform? When would you use it? Anything else you wish to say about it.
In COBOL programming, what is PERFORM? What is VARYING?
What is report-item in COBOL?
What is static and dynamic call in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Name the sections present in data division.
How do you differentiate between cobol and cobol-ii?
What is the difference between comp and comp-3?
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.
State the various causes of s0c1, s0c5 and s0c7.
What is the LINKAGE SECTION used in COBOL?
Explain the configuration section of a cobol program with examples of syntax.
HOw can I get the negative sign while deduct high value from low value
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.