AutoTrim for Input/Output objects

Do you have features you'd like to see in future releases of DataStage, MetaStage, Parameter Manager, Version Control or one of the other tools represented on this forum? Post your ideas here!

Moderators: chulett, rschirm

Post Reply
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

AutoTrim for Input/Output objects

Post by ArndW »

I would like to see a built-in switch, either at a stage level or even at a column level, that would perform a TRIM() of all leading and trailing spaces plus 0x000 characters for VarChar columns in both Server and Px plus the same for CHAR columns in Server. I invariably end up doing this when my data sources are dubious and having an (efficient) automated way to do this would be a great help.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Presumably by "spaces" you mean "white space" (which includes tab characters) for non-NLS or characters designated as TRIMMABLE in the CTYPE locale category where NLS is enabled? :)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Ray - Yes, I do 8) I can't think of a non-trivial job in either Server or Px where I didn't at least once have to do some sort of a TRIM - even if it was just a prophylactic measure.
Post Reply