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 |
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
what are decleratives in cobol?
what is the meaning of pic 9(09)v99-
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
What is the meaning of 'Eject' verb in cobol?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
How many bytes S(8) comp field occupy and its maximum value?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN
SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.
What is the difference between SEARCH and SEARCH ALL?
In EBCDIC, how would the number 1234 be stored?