If there are two files one with 100 records and other with
101 records. we have to find out the one record that is the
odd man out . What are the steps to do it
Answer Posted / varatharaj
using read command fetch first record from the file1 and compare that record with all records if file2 if any match occur go to second record in file1 compare like this until end of first1 if anyone with out match we can find that is odd man out in files.....
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
how do you reference the esds vsam file formats from cobol programs
How to use the same COBOL program in Batch and CICS on lines? explain with an example
In which area will you utilize 88 level items in cobol?
What are 77 levels used for?
Why did you choose to work with ibm mainframe cobol programming?
Can we change the password using ALTER? anyone tried and changed?
What rules are followed by the search verb.
how to refer the data field?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
For rewrite, why is it mandatory that file needs to be opened?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?