The first VSAM file V1 has 2 fields A and B . There is a
DB2 file which has fields E and f. We need the fields A,
B , E and F to another VSAM file called V2. Kindly mention
the logic in procedure division in cobol..
Answer Posted / rookie
I suppose the question is a bit confusing....DB2 deals in
table's and has records...
Open VSAM file and read the records into WS variables,
Fetch DB2 records in host variables
Now write them to file V2.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Define gdg?
State the differences between vsam and non-vsam files?
what are the idcams commands that can be used for vsam and explain each of them.
Differentiate between ci split and ca split?
How is record management performed in vsam?
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
Explain the purpose of the file status clause in the select statement?
why ci and ca splits are not possible in esds and rrds?
what is the purpose of the verify function of idcams?
What is the use of lds (linear data set)?
Define a path?
How is the sorting of vsam files carried?
What are the steps involved in access method services?
What is the function of linear dataset in vsam?
what does a file status of 02 on a vsam signifies?