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
what is meant by s0c-07 system abend codes?
what are the additional information you should give in the dd statement while defining the next generation of a gdg?
On which dataset you can have alt index?
in a cobol select statement, can you tell what is the organization for a ksds?
name the utility program closely associated with vsam?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?
what do you mean by a upgrade set in vsam?
what does a file status of 02 on a vsam signifies?
Define gdg?
what are s0c1, s0c4, s0c5, s0c7 abends?
Explain the difference between lds and esds?
what is the syntax of ams modal commands?
What are the distinctive features of a ksda, key sequenced dataset?
Tell me how many alternate indexes you can have on a dataset?