how to remove duplicates in transformer stage by using
stage variables?one example?

Answers were Sorted based on User's Feedback



how to remove duplicates in transformer stage by using stage variables?one example?..

Answer / ds

In Stage variable:

stage_variable3 <map> stage_variable1
if column=stage_variable1 than 0 else 1 <map>
stage_variable2
column <map> stage_variable3

Put stage_variable2 as constrain to target stage.

Is This Answer Correct ?    12 Yes 2 No

how to remove duplicates in transformer stage by using stage variables?one example?..

Answer / venu

if you want to remove duplicates in transformer stage
use one of the partition technic hash partition you can
easily remove duplicatess

Is This Answer Correct ?    8 Yes 2 No

how to remove duplicates in transformer stage by using stage variables?one example?..

Answer / peeyush sehgal

sv1=inputlink
sv2=if inputlink=sv3 then 1 else 0
sv3=sv1

Is This Answer Correct ?    0 Yes 2 No

how to remove duplicates in transformer stage by using stage variables?one example?..

Answer / prasad

take two stage variables

sV1: Input_column

sV2: if Input_column = sV1 then 0 else 1

and put 'sV1=1' as constraint

Plz correct me, If am wrong.....

Is This Answer Correct ?    4 Yes 7 No

how to remove duplicates in transformer stage by using stage variables?one example?..

Answer / amit

using hash partition technique, we can bring duplicate data(based on key columns) in one partition. Then in stage constraints filter out data with setting @inrownum = 1.

This will remove duplicate in transformer stage.

Is This Answer Correct ?    0 Yes 7 No

how to remove duplicates in transformer stage by using stage variables?one example?..

Answer / subodh

duplication of transformer stage is removed b7y using a
call by referance and call by value , using we create one
object and no other duplication is done

Is This Answer Correct ?    1 Yes 14 No

Post New Answer

More Data Stage Interview Questions

plz tell me some dimentional and fact table names in banking project?

2 Answers   Virtusa,


WHAT are unix quentios in datastage

2 Answers   TCS,


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

4 Answers   Polaris,


How do you design PX Routines ?

1 Answers  


I have a source like file it have Number of records and i want to load without first and last records in target?Datastage?

4 Answers   CSC,


hi, how would i run job1 then job 3 , then job2 in a sequence of job1 ,job2,job3. Thanks sunitha

6 Answers   CTS,


My source having following data as below, AB1 Aim2 Abnv5 1An8bx and my question is i need the Datastage job the following as in my target 000AB1 00Aim2 0Abnv5 1An8bx Please help me to achive this.

6 Answers   Wipro,


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

0 Answers   TCS,


What is usage analysis in datastage?

0 Answers  


How a server job can be converted to a parallel job?

0 Answers  


How can we move a DATASTAGE JOB from Development to Testing environment with the help of a datastage job using unix commands.

5 Answers  


What is a quality stage?

1 Answers  


Categories