Suppose we are having input data coming as
Firstname1
Ph1
Address1
Firstname2
Ph2
Address2
Firstname3
Ph3
Address3
You want data in output like i.e. you want to convert 9 rows into 3 rows with similar group together
Firstname1 Ph1 Address1
Firstname2 Ph2 Address2
Firstname3 Ph3 Address3
You can create a mapping by following these steps
- Create a SQ with one input field Field1
- Add a expression transformation after SQ
- Link Field1 from SQ to expression Transformation
- Add a new op port name grp =substr(FIELD1,length(FIELD1),1)
- Add a aggregator transformation after Expression and drag Field1 and Grp field
- Have grp as group by fieldAdd three new port OP_FLD1=LAST(FIELD1,SUBSTR(FIELD1,1,1)='f')OP_FLD2=LAST(FIELD1,SUBSTR(FIELD1,1,1)='p')OP_FLD=LAST(FIELD1,SUBSTR(FIELD1,1,1)='a')
- Add OP_FLD1,OP_FLD2,OP_FLD3 to target
Hi there,
ReplyDeleteIts a very good site to visit.
well I am looking for some realtime implementation of CDC using PowerExchange. can U pls guide us
Thanks
Kalycs.dwh@gmail.com
Thanks...We will try to publish article on implementation of CDC using power exchange.
ReplyDeleteHi,
ReplyDeleteDoes any have any idea or information regarding informatica power exchange and cdc implementation.
Please share with us as soon as possible.
Thanks in advance!
Good work keep it up .Would like to see more real time questions and answers.
ReplyDeleteGood work, but i have a question, the exaple that you have given is specific, could you please give us the general exaplce
ReplyDeleteCould you please publish article on implementtation of CDC using Power Exchange
ReplyDelete