how do u capture duplicates through sort & transformer

Answers were Sorted based on User's Feedback



how do u capture duplicates through sort & transformer..

Answer / kiran

Hai..,

In sort stage we have one property...its create key change
column.

In Transformer stage ,we have to write if then else
condition.....

Is This Answer Correct ?    11 Yes 1 No

how do u capture duplicates through sort & transformer..

Answer / subhash

In sort stage, we have 'create key change
column' property.
i.e, The KeyChange column is set to 1 for the first record
in each group where the value of the sort key changes.
Subsequent records in the group have the KeyChange column
set to 0.

In Transformer stage ,we can put constraint as IF KeyChange
= 1 then map to the TGT.

Is This Answer Correct ?    5 Yes 0 No

how do u capture duplicates through sort & transformer..

Answer / harikiran

in transformer stage output properties tab there is a
sorting option if u mention sort option there are two more
operations are there like unique and stable sort. if u
click on uniqu it will restrict the duplicates

Is This Answer Correct ?    3 Yes 0 No

how do u capture duplicates through sort & transformer..

Answer / kalyanreddy

Yes, Kirans is right

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Data Stage Interview Questions

What is staging variable?

0 Answers  


i want anser this question empno,ename,sal 12,mmm_ww,200 13,nnn_xx,300 14,bbb_qq,400 which stages are take which types of logicks are doing pls help me

0 Answers  


if ename='subbu' while running job the job should be abort how come?

3 Answers   IBM,


1.what is stagearea?what is stage variable? 2.this is my source source:id, name target:id, name 100, murty 100,madan we have three duplicate records for the id column,how can we getthe source record? 100,madan 100,saran

1 Answers   HCL,


what is operator combinality in datastage?

1 Answers   TCS,






Hi All, I have a file. i need to fetch the records between first and last records by using transform stage. EX:- Source: EMPNO EMPNAME 4567 shree 6999 Ram 3265 Venkat 2655 Abhi 3665 Vamsi 5852 Amit 3256 Sagar 3265 Vishnu Target: EMPNO EMPNAME 6999 Ram 3265 Venkat 2655 Abhi 3665 Vamsi 5852 Amit 3256 Sagar I dont wan't to Shree and vishnu records.we can fetch another way also but How can I write the function in transform stage?

2 Answers   TCS,


what is the exact difference between dataset and fileset in datastage?

5 Answers   TCS,


What are operators in datastage?

1 Answers  


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

0 Answers  


What is a merge in datastage?

0 Answers  


How can we perform 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

1 Answers   Infosys, TCS,


iam new to datastage...now i want to know what are fact tables, dimension tables in bank domain...if any body knows plz tell me asap..

4 Answers   Wipro,


Categories