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
What is perform what is varying?
What are different data types in cobol?
How do you get the data to code the BMS macro?
what is difference between cobol and cobol/400
Write down the divisions of cobol program?
What is the difference between comp and comp-3 usage?
What is the utilization of copybook in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What are 77 levels used for?
How do you reference the following file formats from cobol programs?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is static and dynamic call in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the cobol coding sheets?