how can use ISNULL function in datastage

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
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

how can use ISNULL function in datastage

Post by deesh »

Friends can any one seggest the correct method to use isnull in datastage
ISNULL function
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You use it anywhere an expression can be used. In a Transformer stage this includes stage variable initialization, stage variable derivation, output link constraint expressions and output column derivation expressions. You can use IsNull() in expressions in job sequences also. And you can use the function in any DataStage BASIC routine.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
just4u_sharath
Premium Member
Premium Member
Posts: 236
Joined: Sun Apr 01, 2007 7:41 am
Location: Michigan

Post by just4u_sharath »

If IsNull($1) Then '' Else Trim($1,' ')
Post Reply