i want send my all duplicate record one tar and all uniq
records one target how we will perfome explain
example:
input data
eid
251
251
456
456
951
985
out put/target1
251
251
456
456
out put/target2
951
985
how we will bring

Answer Posted / msbharathi

- > Unique
Sq File - > Aggregate - > Transformer |
- > Duplicate

1. Read data in seq file stage.
2. In Aggregate stage group by EID and count the number of rows in Count column
3. In transformer stage create loop condition as @ITERATION<= DSLink6.Count and derivation as EID = EMPNO.
4. In unique output tab use constraint count<=1 and in duplicate output tab use constraint count>1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between datastage and informatica?

731


What are the differences between datastage and informatica?

572


Can you explain how could anyone drop the index before loading the data in target in datastage?

904


What are datastage sequences?

680


why do u need the IOS upgradation in a FC switch

1879






Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance

1755


How do you reject records in a transformer?

635


Why do we use link partitioner and link collector in datastage?

689


Can you explain repository tables in datastage?

909


how to export or import the jobs in .ISX file

724


What is quality stage?

577


Explain entity, attribute and relationship in datastage?

640


Can you explain players in datastage?

713


Difference between server jobs & parallel jobs?

657


Difference between data warehousing and olap?

655