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...

I have a few records all are same structures data, I want to
store data in multiple targets how?

Answer Posted / geetha

Use transformer stage and modulus function. Lets say we have 4 target tables and set constraint to each target links as below.

Link1--> mod(@INROWNUM,4)=0
Link2--> mod(@INROWNUM,4)=1
Link3--> mod(@INROWNUM,4)=2
Link4--> mod(@INROWNUM,4)=3

we can also use filter stage and where clause to split the records

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Job control?

1220


options available in sequence job to run,validate?

1359


What is apt_config in datastage?

1190


Can you explain how could anyone drop the index before loading the data in target in datastage?

1543


What is the sortmerge collector?

1172


What are system variables and sequencers in datastage

1174


How the ipc stage work?

1165


What are some prerequisites for datastage?

1164


What is the difference between hashfile and sequential file?

1311


What is difference between symmetric multiprocessing and massive parallel processing?

1193


How do you import and export data into datastage?

1291


How do you remove duplicate values in datastage?

1191


Hi , Can anyone give few examples of scenarios and there corresponding design in datastage..i am new to this tool...confused in design while my manager asking to design the job.. Please post the URL if there..so i can go through it.. Thanks in advance...

4235


Explain how a source file is populated?

1410


How do u convert the columns to rows in datastage?

1236