Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Define gdg?

990


State the differences between vsam and non-vsam files?

1053


what are the idcams commands that can be used for vsam and explain each of them.

986


Differentiate between ci split and ca split?

1007


How is record management performed in vsam?

1138


How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?

1031


Explain the purpose of the file status clause in the select statement?

988


why ci and ca splits are not possible in esds and rrds?

1159


what is the purpose of the verify function of idcams?

1054


What is the use of lds (linear data set)?

1020


Define a path?

1083


How is the sorting of vsam files carried?

1120


What are the steps involved in access method services?

958


What is the function of linear dataset in vsam?

1071


what does a file status of 02 on a vsam signifies?

1178