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 |
Is there no issue when you try to convert a NOt null column in nullable and vice versa in aggregator styage and transformer stage? When I tried i got the warnings but in a running code I can see such type of scenarios. Please explain
You enter values in a schema file for RCP and you also entered values in sequential file? which one will it take?
why we use parameters instead of hard code in datastage
How to exclude first and last lines while reading data into a sequential file(having some 1000 records).I guess probably by using unix filter option but not sure which to use
How to Convert a string function to date function by using only sequential file stage with out using other stages ?
Source Like department_no, employee_name ---------------------------- 20, R 10, A 10, D 20, P 10, B 10, C 20, Q 20, S and Output should be like this department_no, employee_list -------------------------------- 10, A 10, A,B 10, A,B,C 10, A,B,C,D 20, A,B,C,D,P 20, A,B,C,D,P,Q 20, A,B,C,D,P,Q,R 20, A,B,C,D,P,Q,R,S
what is the use of surogate key in datastage
how to change left and right links in join stage?
What are the components of datastage?
How did you reconcile source with target?
Can you explain kafka connector?
What is Horizontal transformation, vertical transformation,diagonal transformation?