Null handel

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
consulting
Participant
Posts: 50
Joined: Fri Dec 21, 2007 3:24 am

Null handel

Post by consulting »

I am getting following warning in the transformer stage before loading into final dataset

xfm_tranformer,0:Field XXX from input dataset '0' is NULL. Record dropped.

and the output datatype is : Varchar2(52)
balaji
wahi80
Participant
Posts: 214
Joined: Thu Feb 07, 2008 4:37 pm

Re: Null handel

Post by wahi80 »

First thing this is a common error and you will find enough material on this in dsxchange. Type Null handling in search, and you will get info.

As for the problem, just check if the column which is giving this error is used in any transformation, also use null handling in the stage variables for this column

i.e id isNull(Columnname) Then '' Else Columname, based on your requirement
consulting
Participant
Posts: 50
Joined: Fri Dec 21, 2007 3:24 am

Post by consulting »

Thanks WAhi80
balaji
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

And the resolution was ... ?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
consulting
Participant
Posts: 50
Joined: Fri Dec 21, 2007 3:24 am

Post by consulting »

hi ray the resolution was fine the problem is i am using the column name in stage variable i didnt handel null there but handled in transformer only
balaji
Post Reply