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 / subhash

According his logic: from aggregator stage: the output is
this: 251,2
456,2
951,1
985,1
the main data is:
251
251
456
456
951
985

If you join these two links then the output will be:
251,2
251,2
456,2
456,2
951,1
985,1

Then your are specifying that count=1 then you get the
unique records. means YOU get: 951,985


in another link count<>1 means YOU get: 251,
251,
456,
456

this is our desired out put, our out put.
the logic explained by Shiva is correct.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between server jobs & parallel jobs?

628


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

1663


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2037


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

4572


What are the difference types of stages?

629






how to run a sequential file stage in parallel if the stage is used on the TARGET side

1145


how to export or import the jobs in .ISX file

724


in oracle target stage when we use load option and when we use upsert option?

1759


What are the steps required to kill the job in Datastage?

691


Why fact table is in normal form?

684


Explain usage analysis in datastage?

659


Describe link sort?

654


What are the repository tables in datastage?

831


Whats difference betweeen operational data stage (ods) and data warehouse?

675


What is the roundrobin collector?

643