NUll handling

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
dsdevper
Premium Member
Premium Member
Posts: 86
Joined: Tue Aug 19, 2008 9:31 am

NUll handling

Post by dsdevper »

HI


JOb design is

DB2----------Transformer-------Sequential file.
-
-
-sequential file(reject).

My both input and out coloumns are Nullable feilds.
I am using

If IsNull(DSLink15.SOURCE) Then NullToValue(DSLink15.SOURCE,'A') Else DSLink15.SOURCE

For nullhandling in stage variable.

But still i am getting error
"APT_CombinedOperatorController,0: Field 'SOURCE' from input dataset '0' is NULL. Record dropped.

Can any one help..
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Disable operator combination. You may then find that the error is not being generated where you think it is.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dsusr
Premium Member
Premium Member
Posts: 104
Joined: Sat Sep 03, 2005 11:30 pm

Post by dsusr »

just check if you are using the same column elsewhere in transformer. In addition to this put the property NullFieldValue='' in the Reject(sequential File)...

Also if-then-else syntax is redundant as you can use the function NullToValue(Source,'A') directly.
Post Reply