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

how to move the records from file to array table. give with code example

2677


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

1592


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

1381


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1328


What is a scope terminator give example?

1113


How you can characterize tables in cobol?

1203


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1233


What the difference is between continue and next sentence?

1170


For rewrite, why is it mandatory that file needs to be opened?

1109


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

2550


What are the cobol coding sheets?

1275


What is amode(31)

1175


What is the compute verb? How is it used?

1149


What are the different types of condition in cobol and write their forms.

1115


Explain how you can characterize tables in cobol?

1063