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 MSGLEVEL?
What are literals?
What is a report item?
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
What is an explicit scope terminator?
What is a scope terminator give example?
What are the divisions in a cobol program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Why occurs cannot be used in 01 level in COBOL?
1.What is the default print format in cobol?
what is Reentrancy and Quasi-reentrancy?
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?