I have dataset DS1 which has records say
1
2
3
4
5
...
...
etc

And also I have second dataset DS2 whcih has records
1
3
4
5
6
8
..
...

Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.

Answer Posted / ganesh

Okay Agree with above solution. Now tell me how to do using COBOL Read statement logic.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pertinent COBOL

2042


Can we redefine the field of x(200) to less than 200?

814


Describe the cobol database components?

679


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

702


How many bytes S(8) comp field occupy and its maximum value?

1628






can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1951


how can i see junk values in dclgen or in hostvariable of comp ?

2542


explain sorting techniques in cobol program?

686


Explain how you can characterize tables in cobol?

636


What is a report item?

739


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

713


What are the different data types in cobol?

787


In which area will you utilize 88 level items in cobol?

718


Why would you use find and get rather than to obtain?

681


Are you comfortable in cobol or jcl?

641