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

Can we redefine the field of x(200) to less than 200?

1347


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2373


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2360


Why occurs cannot be used in 01 level in COBOL?

1150


What is the usage of comp fields in cobol?

1163


What are the pertinent COBOL commands?

3149


How do you differentiate between cobol and cobol-ii?

1183


How do we get current date from system with century in COBOL?

1357


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3245


A table has two indexes defined. Which one will be used by the SEARCH?

1269


Explain about different table spaces.

1079


What is the difference between PIC 9.99 and 9v99 in COBOL?

1306


Name the sections present in data division.

1219


What is the difference between goback, stop run and exit program in cobol?

1571


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9839