I have the requirement to compare the two files and pick up
the matching records.
File 1. file2
23 32
32 13
34 15
35 36
36 35
43
Get the matching records from this 2 files to out file. how
you will do this in cobol program?
Answer Posted / sreejith
firt read file1 move each record to table. at the end of
file1 start read file2. for each record read from file2
compare that record with all the elements from table. if it
match write that record to the output file. same procedure
follow for all the records from file2
Is This Answer Correct ? | 16 Yes | 12 No |
Post New Answer View All Answers
What is the difference between next sentence and continue in cobol programing language?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do you reference the following file formats from cobol programs?
how do you define single dimensional array and multidimensional array in your cobol?
What are the various section in data division and briefly explain them.
Why did you choose to work with ibm mainframe cobol programming?
What are the pertinent COBOL
What is static and dynamic call in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is amode(24)?
What are the pertinent COBOL commands?
What is difference between static and dynamic call in cobol?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How do get the result of your program directly on your pc?
example for sub strings ? and refernce modifications whit output pls