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 / binayak mohapatra

seq-agg-copy-filt1-tgt1
Again from that agg-filt2-tgt2
In agg group=empid
        count=rowcount
        outputcount=empid
In agg column  create another column like count_empid and map it.
in filt1 count_empid>1 and map into tag 1
then  you can take input from another copy source then filter2 put a condction like count_empid=1 and map them into tgt 2

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of hoursfromtime() function in transformer stage in datastage?

580


Can you explain repository tables in datastage?

894


If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?

1620


What are the types of containers in datastage?

697


What is the difference between datastage and datastage tx?

587






How many types of sorting methods are available in datastage?

624


Difference between sequential file and data set?

636


what is the custome stage in datastage? how can we impliment that one? plz tell me

1902


What are the primary usages of datastage tool?

619


what are .ctl(control files) files ? how the dataset stage have better performance by this files?

2174


What are stage variables?

629


Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

1660


How complex jobs are implemented in datstage to improve performance?

587


What is the method of removing duplicates, without the remove duplicate stage?

576


Nls stands for what in datastage?

722