There are two flat files one having 10 records and other
having 5 records. write a cobol pgm to find the duplicate
records(matching records)from both files.

Answer Posted / talluri

perform 10 times
read file1
perform 5 times
read file2
if file1rec = file2rec
write file1rec to file3rec
end-if
end perform
end perform.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is perform what is varying?

713


What are different data types in cobol?

697


How do you get the data to code the BMS macro?

1482


what is difference between cobol and cobol/400

21578


Write down the divisions of cobol program?

673






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

683


What is the utilization of copybook in cobol?

662


Explain the configuration section of a cobol program with examples of syntax.

663


What are 77 levels used for?

661


How do you reference the following file formats from cobol programs?

702


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1780


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

1600


What is static and dynamic call in cobol?

601


What is an in line perform? When would you use it? Anything else you wish to say about it.

651


What are the cobol coding sheets?

672