Hi,
I have 3 records,
1 Srini
1 vasa
2 reddy

now i want o/p like this
1 Srinivasa
2 reddy

could u please help in this

Thanks in advance.

Answer Posted / madhavareddy

seqstage->sortstage->transformerstage->removedupicatestage->targetdataset

sortstage->put chagekeycolum=true

transformer -> stagevariable->sv1 if change key colum =1 then in.column else sv1::in.column

in derivation colum give ->sv1

then in remove duplicate stage keep last record option

then you will get desired output

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you Implemented SCD Type 1 & Type 2 in your project?

3695


Describe the architecture of datastage?

568


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

1909


what is 'reconsideration error' and how can i respond to this error and how to debug this

2117


What are the main features of datastage?

662






Differentiate between odbc and drs stage?

593


What is the use of datastage designer?

637


How to perform incremental load in datastage?

664


What is Ad-Hoc access? What is the difference between Managed Query and Ad-Hoc access?

2541


What are the stages in datastage?

635


What is difference between server jobs & parallel jobs?

623


How we can covert server job to a parallel job?

593


What is the precedence of stage variables,derivations, and constraints?

594


Explaine the implimentation of scd's in ds indetail, please send me step by step procedure to perform scd's 1,2,3. Please replay for this, Thanks in advance

1745


How a source file is populated?

614