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
how to move the records from file to array table. give with code example
What is the difference between goback, stop run and exit program in cobol?
How do we get current date from system with century in COBOL?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is a scope terminator give example?
How you can characterize tables in cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What the difference is between continue and next sentence?
For rewrite, why is it mandatory that file needs to be opened?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What are the cobol coding sheets?
What is amode(31)
What is the compute verb? How is it used?
What are the different types of condition in cobol and write their forms.
Explain how you can characterize tables in cobol?