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

Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

2998


What is ibm datastage?

789


What is a merge in datastage?

999


Have you used Unstructured data?

1085


How rejected rows are managed in datastage?

1233


What are the types of containers?

947


How to implement complex jobs in data stage?

904


What is the difference between server job and parallel jobs?

946


In Informatica,for the table I can find coreesponding dependent mappings.Likewise can I find the dependent jobs with all the information by using the table name

2258


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

1270


What are stage variables?

934


What are the types of containers and how to create them?

794


If you want to use the same piece of code in different jobs, how will you achieve it?

935


What is the difference between datastage and informatica?

898


root tree will find which is server job and which is parallel job?

1683