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 / richa

from these evaluate i am able to get the matched records in
one file but if i want to write the unmatched record in the
spool area then how to track those unmatched records from
here

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

638


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

713


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2052


What is the default value(s) for an initialize and what keyword allows for an override of the default?

691


Write a program that uses move corresponding.

668






What rules are to be followed while using the corresponding options?

632


What are the different open modes available in cobol?

713


Write a cobol program making use of the redefine clause.

725


How do u write test cases?

1633


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

2216


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

1912


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2004


What are the pertinent COBOL commands?

2620


How arrays can be defined in COBOL?

661


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

670