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 / anil t.

Using Merge

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1072


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.

3941


What are different data types in cobol?

906


how do you reference the variable unblock file formats from cobol programs

995


What is length is cobol?

852


What is the difference between PIC 9.99 and PIC9v99?

1032


Give some examples of command terminators?

937


How do you define a variable of comp-1 and comp-2?

904


How are the next sentence and continue different from each other?

1003


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

890


how do you define single dimensional array and multidimensional array in your cobol?

860


What is amode(31)

904


What are literals?

852


What is the difference between Global and External Variables?

913


Write a program to enter and display the names of students in a class using the occurs clause.

914