Suppose, file A has 100 records and file B has 500 records. We
want to write records common to both A and B into file C and
records which are present only in either A or B into another file D.
What should be the logic of Cobol program to achieve this?

Answer Posted / anji

I think this is partially right. after accessing 100 records
program is abended. And how to send remaining B file records
into file D.. send me ans plz..

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

2202


what are decleratives in cobol?

1985


What is the usage of comp fields in cobol?

859


Whats the difference between search & search ALL?

5831


IF I mention stop run in CICS what happens?

2071






What are the pertinent COBOL

2227


What is amode(24)?

865


What is comp-1 and comp-2?

922


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1965


For rewrite, why is it mandatory that file needs to be opened?

824


What is the difference between a binary search and a sequential search what are the pertinent cobol?

910


What is Pic 9v99 Indicates in COBOL?

921


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1222


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

1079


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

2863