trim in DS?
Posted: Mon Jun 30, 2003 7:55 am
Hi there,
Is there an equivalent to vb or oracle TRIM function in DataStage?
I have a seqential file stage connected to one transform, then 2 output links from the transform stage.
In the transform stage I'd like to trim the leading and trailing spaces in the contents of a field before sending the field out through the output links.
I don't have the DS documentation on me so can't look up how to achieve this. I'm assuming the function -if there is one- would be placed in the derivation section for the column in question inside of the tranform stage?
Thanks!
Is there an equivalent to vb or oracle TRIM function in DataStage?
I have a seqential file stage connected to one transform, then 2 output links from the transform stage.
In the transform stage I'd like to trim the leading and trailing spaces in the contents of a field before sending the field out through the output links.
I don't have the DS documentation on me so can't look up how to achieve this. I'm assuming the function -if there is one- would be placed in the derivation section for the column in question inside of the tranform stage?
Thanks!