Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1201


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1118


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1079


For rewrite, why is it mandatory that file needs to be opened?

1077


Mention the guidelines to write a structured cobol program?

1045


Can a Search can be done on a table with or without Index?

1255


Explain what you understand by passing by value.

1107


What is a scope terminator give example?

1070


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.

2096


What are the different rules to perform a Search?

1055


What is cobol?

1207


When is inspect verb is used in cobol?

1200


How do you reference the following file formats from cobol programs?

1137


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1071


What is the LINKAGE SECTION used in COBOL?

1484