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

How to reverse the string using unix?

2793


How will you move hashed file from one location to another location?

1650


Name the third party tools that can be used in datastage?

606


How to perform incremental load in datastage?

659


What are the various kinds of containers available in datastage?

559






How many types of sorting methods are available in datastage?

626


What are the difference types of stages?

618


What could be a data source system?

573


What is the purpose of pivot stage and types of containers in datastage

607


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

1913


How do you register plug-ins?

594


hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys

2422


How do you start developing a datastage project?

656


What is the difference between datastage and datastage tx?

588


How do you reject records in a transformer?

624