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
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How do you differentiate between cobol and cobol-ii?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Have you used comp and comp-3 in your project? And how?
When is inspect verb is used in cobol?
What are the different rules of SORT operation?
How to print 10 to 1 if the input have only 10 digit number?
What are the different data types in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Define cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the difference between next sentence and continue in cobol programing language?
How to remove 2 duplicate records and copy only one using job control language?
What rules are followed by the search verb.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.