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 / radhakant kumar
hey it is just a example it could be like this..
1 Srini
1 vasa
1 aaaaa
the complete solution will be
say col1 and col2 so define stage variable in transformer
col1--------------->a(interger)
col2--------------->b(varchar)
if a=c then d:b else ''-->e(varchar)
e----->d(varchar)
a----->c(integer)
then in target pass e value to col2 and map col1 to col1
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
How a source file is populated?
What is staging variable?
Can you explain repository tables in datastage?
What are the steps needed to create a simple basic datastage job?
Why we use surrogate key?
What is datastage?
What are datastage sequences?
What is the flow of loading data into fact & dimensional tables?
How do you register plug-ins?
What is the difference between passive stage and active stage?
if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?
State the difference between an operational datastage and a data warehouse?
Difference between IBM DATA STAGE8.5 and DATA STAGE9.1 ?
project Steps,hits, Project level HArd things,Solved methods?
What is a ds designer?