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
Why occurs cannot be used in 01 level in COBOL?
Difference between array and sub-script ?
Can we change the password using ALTER? anyone tried and changed?
What is Pic 9v99 Indicates in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
What is the problem of ordered sequential files access?
) what is the difference between AID and HANDLE AID?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Difference between cobol and cobol-ii?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between external and global variables in COBOL?
How you can read the file from bottom?
What are the different rules of SORT operation?
What is cobol?