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...

Suppose, file A has 100 records and file B has 500 records. We
want to write records common to both A and B into file C and
records which are present only in either A or B into another file D.
What should be the logic of Cobol program to achieve this?

Answer Posted / suresh

sort the file by using key...and perform matching logic

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5875


How do you differentiate between cobol and cobol-ii?

1282


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

1167


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

2521


When is inspect verb is used in cobol?

1312


What are the different rules of SORT operation?

1202


How to print 10 to 1 if the input have only 10 digit number?

1305


What are the different data types in cobol?

1513


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1309


Define cobol?

1483


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2536


What is the difference between next sentence and continue in cobol programing language?

1278


How to remove 2 duplicate records and copy only one using job control language?

1261


What rules are followed by the search verb.

1196


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.

1501