I/P
---
ID Value
1 AB
2 ABC
3 ADE
4 A
O/p
---
ID Value
1 A
1 B
2 A
2 B
2 C
3 A
3 D
3 E
4 A
Answer Posted / subbuchamala
SRC-->TFM--->TGT
in TFM, Use Stage variables and Loop variables as below:
StageVar-->Len(Lnk.Value)===>this will give length of string of "Value" column. i.e.,
ID Value StageVar
1 AB 2
2 ABC 3
3 ADE 3
4 A 1
Next, in the Loop variable part:
Loop While==> @ITERATION<= StageVar
For each input row, Loop will repeat until "Value" length finishes.
Add new Loop variable-->LoopVar and put below derivation:
Left(lnkCstIPSGMSPread.IJABL, @ITERATION)-->LoopVar
Next, in the Output Col Derivation:
Lnk.ID-->ID
LoopVar-->Value
Finally, you will required Output.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between an operational datastage and a data warehouse?
Nls stands for what in datastage?
describe the Steps to confiure a Qlogic switch
How you Implemented SCD Type 1 & Type 2 in your project?
EXPLAIN SCD
What are the features of datastage flow designer?
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
Can you explain link buffering?
which r the connectors used in san?
What is difference between join, merge and lookup stage?
What is the difference between datastage and informatica?
To see hidden files in LINIX?
What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)
How the ipc stage work?
what is use of SDR function?