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?
Define a path?
How is record management performed in vsam?
difference between vsam and database tables
What are the steps involved in access method services?
Why is master catalog used in vsam?
Explain the difference between lds and esds?
Discuss record management in vsam?
Tell about the ams used in vsam?
explain in brief how you can create a vsam file?
What are the different dataset organizations used in vsam?
Explain the catalog?
What are the different commands used in idcams for vsam?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
there are seven idcams commands in vsam. Can you name and explain each of them?