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

OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output

2570


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

1054


what is meant by s0c-07 system abend codes?

1152


Differentiate between ci split and ca split?

1058


we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.

1399


Under idcams, multiple functions can be executed, each of which returns a condition code. What will be the condition code returned to the operating system?

1078


What are the information stored in ci?

1063


Can you delete vsam files with the delete option of the disposition parameter of jcl?

1171


State the differences between vsam and non-vsam files?

1110


What are the different parameters that are used in vsam?

1204


how do you create an alternate index ?

1124


Why is master catalog used in vsam?

1185


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?

1514


what is the probability of a complete system distortion under high end low performing multiprocessor job?

2522


What is recovery parameters in define cluster command?

1117