Hi,
I need to do a lookup between a file and a Hash File on more fileds (6). If I use the standard technique, It's very long.
I know (but I don't remember) that DataStage have a function where I can concatenate all these fields in a new field (for my two files) and after in the transform, The lookup is faster.
Is anybody know this command?
Thank you for your help.
Pey
Key function
Moderators: chulett, rschirm, roy
Not sure, but is the technique discussed in this post what you are thinking of? Or something you could use?
If you mean simply concatenating all of those fields together to build a 'psuedo' composite key, just use the standard colon concatenation operator. Throw in the NullToSpace() transform to handle any null fields that might exist. Or is this the standard technique that is 'very long' you mentioned? I wasn't sure if 'long' meant big in size or in execution time...
If you mean simply concatenating all of those fields together to build a 'psuedo' composite key, just use the standard colon concatenation operator. Throw in the NullToSpace() transform to handle any null fields that might exist. Or is this the standard technique that is 'very long' you mentioned? I wasn't sure if 'long' meant big in size or in execution time...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers