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

I have the requirement to compare the two files and pick up
the matching records.
File 1. file2

23 32
32 13
34 15
35 36
36 35
43

Get the matching records from this 2 files to out file. how
you will do this in cobol program?

Answer Posted / sreejith

firt read file1 move each record to table. at the end of
file1 start read file2. for each record read from file2
compare that record with all the elements from table. if it
match write that record to the output file. same procedure
follow for all the records from file2

Is This Answer Correct ?    16 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is report-item in COBOL?

1201


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2633


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

1260


how do you reference the variable block file formats from cobol programs

1311


Write the code implementing the perform … varying.

1122


Write down the divisions of cobol program?

1337


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1209


How do you define a variable of comp-1 and comp-2?

1260


Whats the difference between search & search ALL?

6666


What is a scope terminator give example?

1157


how do you reference the printer file formats from cobol programs

1283


What are all the divisions of a COBOL program?

1273


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1211


What is the difference between PIC 9.99 and PIC9v99?

1406


What are the cobol coding sheets?

1364