Column Export Formatting

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kld05
Charter Member
Charter Member
Posts: 36
Joined: Fri Apr 28, 2006 8:12 am

Column Export Formatting

Post by kld05 »

I'm dealing with a fixed width file that is passing decimals as 000100.100. I'm using an upstream trim to remove the leading and tailing zero's to output 100.1. When I pass this column as an exported column the format is going back to 000100.100. How can I preserve the 100.1 value in the column export stage? I'm using Varchar export type for this.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

Trim(TheString, "0", "R")
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply