handling decimals
Posted: Tue Apr 03, 2007 9:12 pm
How can I remove/trim off the space in my output data (which is of decimal datatype) which is added by Datastage.
For eg. my input schema is:
name string(3);
account string(5);
And input data is:
asd23456qwe98765
In my ouptut I get a blank space in front of the decimal datatype:
Schema for output file:
name string(3);
account decimal(5);
Data as I get in my output file is:
asd 23456qwe 98765
How can I trim/remove the space in front of this decimal data(account)?
Is it so that datastage adds this space for a signed value ?
Thanks.
For eg. my input schema is:
name string(3);
account string(5);
And input data is:
asd23456qwe98765
In my ouptut I get a blank space in front of the decimal datatype:
Schema for output file:
name string(3);
account decimal(5);
Data as I get in my output file is:
asd 23456qwe 98765
How can I trim/remove the space in front of this decimal data(account)?
Is it so that datastage adds this space for a signed value ?
Thanks.