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
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you reference the fixed block file formats from cobol programs
What is the LINKAGE SECTION used in COBOL?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How arrays can be defined in COBOL?
what is the difference between COBOL2 AND COBOL390?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How do u write test cases?
How to print 10 to 1 if the input have only 10 digit number?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How many sections are there in data division in COBOL?
What is perform what is varying?
Write the code implementing the perform … varying.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?