How to read records which is in sequential file in reverse
order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my
doubt any one
Answer Posted / gautam
Read file till end of the file and move the record to array.
Increase the counter.
Read the record from array until counter = 0.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how do you reference the variable unblock file formats from cobol programs
How you can read the file from bottom?
How do you reference the following file formats from cobol programs?
What is the utilization of copybook in cobol?
What is report-item in COBOL?
What are the different data types in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Name some of the examples of COBOl 11?
how do you define single dimensional array and multidimensional array in your cobol?
What is amode(31)
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
Can a Search can be done on a table with or without Index?
how to refer the data field?
how do you reference the variable block file formats from cobol programs
How do you reference the fixed block file formats from cobol programs