Trim(NulltoEmpty(priorSnapshot2.EMPNUM))

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
srikanth386
Participant
Posts: 26
Joined: Sun Dec 23, 2007 3:21 am
Location: hyderabad

Trim(NulltoEmpty(priorSnapshot2.EMPNUM))

Post by srikanth386 »

Hi..

Could you help me, how can I use this function in server jobs.

Trim(NulltoEmpty(priorSnapshot2.PRVDR_GRP))
SRIKANTH
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

By writing a NullToEmpty transformation
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It already exists. I'm guessing the question really should have been "how do I use this Server function in a Parallel job". Yes? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

If IsNull(trim(priorSnapshot2.PRVDR_GRP)) then '' else trim(priorSnapshot2.PRVDR_GRP)

in the column derivation works too.
hi sam here
Post Reply