How to remove leading zeros in DataStage

I am trying to remove leading zeros in a decimal field in a sequential file step. What is the solution to this problem?

+3


source to share


1 answer


The easy way is: Trim (DecimalTostring (In.Col), '0', 'L')



+5


source







All Articles