Warning message at the end..dropping rows

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
sush26283
Participant
Posts: 68
Joined: Thu May 20, 2010 11:55 am

Warning message at the end..dropping rows

Post by sush26283 »

I have a job and I need some help in recognizing the warning message that am getting...the job runs and completes but at the last step after all the trasformation and joins when the data passes through the last transformer before it goes into the table a lot of rows are getting dropped.

the log shows the following two warnings in a multiple way

Transformer_551,1: Field 'APT_Decimal::ErrorBase: From: divizor is 0 via exception..' from input dataset '0' is NULL. Record dropped.


Transformer_551,0: Field 'APT_Decimal::ErrorBase: From: divizor is 0 via exception..' from input dataset '0' is NULL. Record dropped.


can someone help me with that..

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

Post by ray.wurlod »

One message is from node #0, the other identical message is from node #1. You are running on a two node configuration, each performing identical processing on separate subsets of your data.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sush26283
Participant
Posts: 68
Joined: Thu May 20, 2010 11:55 am

Post by sush26283 »

but so far in the design through out the flow there has been no error or warning...its only at this last step that the warning is coming up..i have also broken down the design in small steps to check for the warning but none..

what do you suggest me to do..

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

Post by ray.wurlod »

Detect which input columns to that Transformer stage contain nulls and which operation (stage variable, constraint expression, derivation expression) is having problems handling null because it contains a function call. Handle any such null values before they are passed to the function. Note that DSMacros also call functions.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

Are you doing any division operations in the last transformer? And if so, are he columns used for division have zero or null in them?
Regards,
S. Kirtikumar.
kmsekhar
Premium Member
Premium Member
Posts: 58
Joined: Fri Apr 16, 2010 12:58 pm
Location: Chn

Post by kmsekhar »

few more points.. Usually In a transformer its better to handle all the nullable columns before we do any arthimatic calculations (ie., ADD,DIV,SUB,MUL,CONCAT,SUBSTRING etc...)
We have options to handle null using any of the functions

NULLToValue
IsNULL
.......
.......
sush26283
Participant
Posts: 68
Joined: Thu May 20, 2010 11:55 am

Post by sush26283 »

Thanks Guys...I found out the mistake I was doing...apparently the derivation was a faulty one that i was doing.
Post Reply