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 you reference the variable unblock file formats from cobol programs

1376


How you can read the file from bottom?

1193


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

1200


What is the utilization of copybook in cobol?

1270


What is report-item in COBOL?

1196


What are the different data types in cobol?

1510


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)?

1174


Name some of the examples of COBOl 11?

3196


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

1148


What is amode(31)

1214


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

1292


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

1330


how to refer the data field?

2318


how do you reference the variable block file formats from cobol programs

1308


How do you reference the fixed block file formats from cobol programs

1283