if a column contains data like
abc,aaa,xyz,pwe,xok,abc,xyz,abc,pwe,abc,pwe,xok,xyz,xxx,abc,
roy,pwe,aaa,xxx,xyz,roy,xok....
how to send the unique data to one source and remaining data
to another source????
Answers were Sorted based on User's Feedback
Answer / chandu
S.D sahu answer is correct but don't use transformer stage.
use sort stage and use option as createKeyChangeColumn =
True it allows one virtual key column as keychange column
i.e unique records display as 1 and duplicate records it
give 0 and use simple filter stage and that use option or
give where clause =keychangecolumn=1 . unique records are
went to one dataset and use filter stage stage another
option is output rejects =true duplicate records went to
another dataset.
This is the best answer
Is This Answer Correct ? | 21 Yes | 1 No |
Answer / prasad
by using create key change column is true is disp;ays
duplicates records
if it is false it displays non duplicate records
first keep all the records in sort order
Is This Answer Correct ? | 4 Yes | 6 No |
Please Tell me..,I need some Complex Jobs in datastage as per in interview?how to tell and how to explain?please send as well as posiible please
How rejected rows are managed in datastage?
How can we run same job in 1 day 2 times
what is push and pull technique??? I want to two seq files using push technique import in my desktop what i will do????
What is the surrogate key? what is the use of surrogate key? how to Create surrogate key Generator in scd2 in 8.5?
How do you remove duplicate values in datastage?
What is the difference between odbc and drs stage?
can we use sequential file as a lookup
detail about sdlc
How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?
Hi friends,Two input files, wants to validate only if the reference data has '0' otherwise no validation should be done..how to do this??
Explain the importance of surrogate key in data warehousing?