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 / pa

Being a flat file, we cant be sure that it will have a unique key field. So, External to the cobol program , using SORT utility, we can add a serial no column, and then SORT it in descending order based on that column and read the file sequentially in COBOL program.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2324


Name the divisions, which are available in a cobol program?

1169


what happens if parmparameter passes zero bytes to the program

2082


HOw can I get the negative sign while deduct high value from low value

2211


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

1174


How many sections are there in data division in COBOL?

1079


Whats the difference between search & search ALL?

6364


What is the Purpose of Pointer in the string?

1026


Difference between cobol and cobol-ii?

1195


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1288


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1196


What is the usage of comp fields in cobol?

1130


what is amode(24), amode(31), rmode(24) and rmode(any)?

1092


What are the different rules to perform a Search?

1048


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1230