Duplication of records using Datastage
Posted: Sun Jun 05, 2011 10:21 pm
Hi All,
I'm stuck with a scenario wherein I need to provide duplicates of a recod on conditional basis. E.g. In the transformer stage I may check for the type, and let's say if I get the condition type='A', then I need 3 duplicates of the current record. That is, if the input row is:
1,A,20455,"Fault Description"
Then since I find type='A', then I would want exactly three output rows for the same. i.e.,
1,A,20455,"Fault Description"
1,A,20455,"Fault Description"
1,A,20455,"Fault Description"
Is this possible using datastage?
Thanks & Regards,
Sriram Garikapati
I'm stuck with a scenario wherein I need to provide duplicates of a recod on conditional basis. E.g. In the transformer stage I may check for the type, and let's say if I get the condition type='A', then I need 3 duplicates of the current record. That is, if the input row is:
1,A,20455,"Fault Description"
Then since I find type='A', then I would want exactly three output rows for the same. i.e.,
1,A,20455,"Fault Description"
1,A,20455,"Fault Description"
1,A,20455,"Fault Description"
Is this possible using datastage?
Thanks & Regards,
Sriram Garikapati