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
Explain the catalog?
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
Define gdg?
How to get the last record in vsam file in cluster?
What is a base cluste?
we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.
what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?
Would you specify freespace ce for an esds?
what is meant by s0c-07 system abend codes?
what is meant by dirty read in vsam?
What are the different commands used in idcams for vsam?
What are the different versions of gdg named?
What is the function of entry sequenced data set?
What are the access method services used in vsam?
What is the biggest disadvantage of using a vsam dataset?