how do u capture duplicates through sort & transformer

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Datastage 7.5 and 7.0?

676


Have you used Unstructured data?

839


What is quality stage?

575


There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this

1810


How to reverse the string using unix?

2815






Why do we use exception activity in Datastage?

729


What is merge stage?

767


What is staging variable?

625


What is the difference between account and directory options ?

625


What are the important features of datastage?

621


What are the job parameters?

709


Notification Activity

902


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

1786


What is the use of datastage designer?

642


What can we do with datastage director?

676