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 define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
For rewrite, why is it mandatory that file needs to be opened?
Mention the guidelines to write a structured cobol program?
Can a Search can be done on a table with or without Index?
Explain what you understand by passing by value.
What is a scope terminator give example?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What are the different rules to perform a Search?
What is cobol?
When is inspect verb is used in cobol?
How do you reference the following file formats from cobol programs?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the LINKAGE SECTION used in COBOL?