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

)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2002


Write the code to count the sum of n natural numbers.

1200


How are the next sentence and continue different from each other?

1287


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

1111


how can i see junk values in dclgen or in hostvariable of comp ?

2989


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9088


What are the pertinent COBOL commands?

3163


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

1578


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1423


Name some of the examples of COBOl 11?

3135


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2066


What are different data types in cobol?

1301


How you can characterize tables in cobol?

1188


What are the pertinent COBOL

2559


What is amode(24)?

1225