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
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.
what are decleratives in cobol?
What is the usage of comp fields in cobol?
Whats the difference between search & search ALL?
IF I mention stop run in CICS what happens?
What are the pertinent COBOL
What is amode(24)?
What is comp-1 and comp-2?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is Pic 9v99 Indicates in COBOL?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Can we redefine the field of x(200) to less than 200?
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