Use of trim function within a BuildOp

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
fridge
Premium Member
Premium Member
Posts: 136
Joined: Sat Jan 10, 2004 8:51 am

Use of trim function within a BuildOp

Post by fridge »

Hi, I have a simple buildop that uses a bit of C++ to manipulate a APT_String

I am trying to work out how to trim the string of whitespace before I do my munging on it and cant for the life of me work out the proper syntax

tried various combinations such as

tssid_strip=INPUT.TSSID.trimWhitespace();


but either get name lookup on trimWhitespace failed, or incorrect parameters etc

Any pointers gratefully recieved
Post Reply