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

how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915


What the difference is between continue and next sentence?

649


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

732


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1904


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

677






What are the various section in data division and briefly explain them.

681


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?

5353


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2651


Discuss about changing dataset name in proc.

755


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

1620


How do get the result of your program directly on your pc?

1870


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

437


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

734


how to move the records from file to array table. give with code example

2207


How do you get the data to code the BMS macro?

1468