how do u capture duplicates through sort & transformer
Answers were Sorted based on User's Feedback
Answer / kiran
Hai..,
In sort stage we have one property...its create key change
column.
In Transformer stage ,we have to write if then else
condition.....
Is This Answer Correct ? | 11 Yes | 1 No |
In sort stage, we have 'create key change
column' property.
i.e, The KeyChange column is set to 1 for the first record
in each group where the value of the sort key changes.
Subsequent records in the group have the KeyChange column
set to 0.
In Transformer stage ,we can put constraint as IF KeyChange
= 1 then map to the TGT.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / harikiran
in transformer stage output properties tab there is a
sorting option if u mention sort option there are two more
operations are there like unique and stable sort. if u
click on uniqu it will restrict the duplicates
Is This Answer Correct ? | 3 Yes | 0 No |
What is the difference between informatica and datastage?
Differentiate between operational datastage (ods) and data warehouse?
What is the use of datastage designer?
What is datastage engine?
how many rows sorted in sort stage by default in server jobs
Differentiate between validated and Compiled in the Datastage?
What are the environmental settings for data stage,while working on parellel jobs?
What are the different common services in datastage?
Differentiate between Join, Merge and Lookup stage?
What is staging variable?
I am having two tables called MASTER and DETAIL. I want to insert records to both tables. But one condition is that whenever the insert for MASTER table is success then only the records will inserted into the DETAIL table, otherwise abort the job. How can u design this job?
my source is sequencial file and my target is dataset. i am running the job in two node configuration file. my source having 10 records how the data move to target?