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 from flat file in reverse order through
COBOL program?

Answer Posted / dimpy19

When REVERSED is specified, OPEN statement execution positions the QSAM file at its end. Subsequent READ statements make the data records available in reversed order, starting with the last record


Open INPUT filename REVERSED

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you used comp and comp-3 in your project? And how?

2436


what is difference between cobol and cobol/400

22759


What is the compute verb? How is it used?

1087


Which Search verb is equivalent to PERFORM…VARYING?

1008


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

1074


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2553


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2486


What is the difference between Global and External Variables?

1313


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2087


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2072


What is the difference between comp and comp-3 usage?

1141


How to know whether the module is dynamical or statistical?

1089


What the difference is between continue and next sentence?

1118


What is rmode(any) ?

1193


Which mode is used to operate the sequential file?

1157