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

Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

1983


How many types of stage?

948


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

1659


What is the purpose of pivot stage?

860


What is the difference between an operational datastage and a data warehouse?

883


What a datastage macro?

856


how to sort two columns in single job in datastage.

2730


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

1196


what is the use of materialized view?

1220


What are the types of containers in datastage?

949


Where do the datastage jobs get stored?

979


How to perform incremental load in datastage?

924


Difference between server jobs & parallel jobs?

867


Describe link sort?

836


Describe the architecture of datastage?

790