Hi All,
The Scenario is like the one given below......
OCI----->Transformer----->SQFS
....................^
.....................|
.....................|
.................Hash File ((( Hash File pointing to the transformer))))
Definition Of Metadata
--------------------------
OCI | Hash File | SQFS
----- ----------- ------
TR1(VarChar) | NUM(Might be 1,2,3) | d1---(Value=TR(NUM))
TR2(VarChar) |
TR3(VarChar) |
------------------------------------------------------------------------------------
Depending on the value returned from the Hash file .....
Say for Example NUM=2 ....Then Value in TR2 Should be returned to d1......
I can use the If...Then ....Else .....like
If (NUM=1) Then TR1...ElseIf(NUM=2)..... like that...
Actually there are TR1,TR2,TR3.......TR30...
So the If..Else...Then will be very long.....
Is There any other way through which i can work it out...
Please do suggest me other options....
Thank You,
Cheers!!!
AMit
Picking up the Right values n loading to DW
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 27
- Joined: Fri Jul 28, 2006 2:11 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
Field("TR1|TR2|...|TR30", "|", TheNumber, 1)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.