i have two file one is ksds another one is esds i want store
matching records in flat file how to you matching.
Answer Posted / satish.klnm
esds<rno, rname....>,
Procedure division.
open input fileksds, input fileesds, output file33.
para-1.
read fileesds at end perform end-para.
para-2.
start fileksds key = rno<esds> invalid key
perform para-1.
write rec33 from rec<esds>.
perform para-1.
end-para.
close fileksds, fileesds, file33.
stop run.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
what are decleratives in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How do you define a variable of comp-1 and comp-2?
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 the different data types in cobol?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to remove 2 duplicate records and copy only one using job control language?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write a program to enter and display the names of students in a class using the occurs clause.
) How do u handle errors in BMS macro
How do define dynamic array in cobol.
how can i see junk values in dclgen or in hostvariable of comp ?