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
Write some characteristics of cobol as means of business language.
What is amode(24)?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
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)?
What kind of error is trapped by on size error option?
Write a program to explain size error.
What is the difference between next sentence and continue in cobol programing language?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Explain how you can characterize tables in cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Write a program that uses move corresponding.
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between Call and a Link?
what is amode(24), amode(31), rmode(24) and rmode(any)?