i have two file one is ksds another one is esds i want store
matching records in flat file how to you matching.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / lu
you can do like Satish or you move KSDS to flat file and
ESDS to another flat file and after this, u sort it...
| Is This Answer Correct ? | 1 Yes | 3 No |
What is the difference between a DYNAMIC and STATIC call in COBOL?
What is difference between comp & comp-4?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?
What are various search techniques in cobol? Explain.
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
how do u link sub pgm to main pgm ?
i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..
How many maximum number of procedures can we write in one COBOL program?
how we can edit records in vsam data set and non vsam data sets
How to Pass table from a cobol program to another cobol program and how to use that table in called program
What is Redefines clause?
What will happen if we generate GDG +2 version instead of +1 version?