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 |
What is the use of datastage director?
Have you used Unstructured data?
what is the definitions for Datawarehose and Datamart?
Give example for FACTLESS FACT TABLE in real-time scenario.
How to read multiple files using a single datastage job if files have the same metadata?
How one source columns or rows to be loaded in to two different tables?
how to clear the source file? 2) diff b/t odbc & Oracle?what is node? 3) explain one complex job u face in ur project
I am defining one varaible parameter date in job parameters.I want use this variable date in where clause in source query.
can explain wt is the pool for file.
i have a scenario with i/p as ID,salary with values 1,1000 2,2000 and 3,4000 i need an extra column in the o/p named amount with values 2000,4000 and NULL. how can i get it?
What are some prerequisites for datastage?
what is the difference between 7.1,7.5.2,8.1 versions in datastage?