Records Dropping because of 0 values

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
vemisr
Participant
Posts: 72
Joined: Thu Sep 11, 2008 1:31 pm

Records Dropping because of 0 values

Post by vemisr »

Hi Experts,

i am doing calculations in minutes and $ values, i am getting 0 values .

it has to send these records with acct_number and amount 'zero values' to target. but it's droping. tried with datatype "decimal' and 'numeric' also , still records are doped.

here is the log : "Field 'ED_LOS_GRP_MIN' from input dataset '0' is NULL. Record dropped. "


thx
Vemisr
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Records are dropped since you have NULL in the field ED_LOS_GRP_MIN. Check for NULL in this field and assign default values
You are the creator of your destiny - Swami Vivekananda
vemisr
Participant
Posts: 72
Joined: Thu Sep 11, 2008 1:31 pm

Post by vemisr »

put a if condition then assigned to 00 , still same errors.
vivekgadwal
Premium Member
Premium Member
Posts: 457
Joined: Tue Sep 25, 2007 4:05 pm

Post by vivekgadwal »

vemisr wrote:put a if condition then assigned to 00 , still same errors.
Then what is the workaround that you got? Enlighten us... :wink:
Vivek Gadwal

Experience is what you get when you didn't get what you wanted
Shaanpriya
Participant
Posts: 22
Joined: Thu Sep 11, 2008 11:47 pm
Location: Bangalore

Re: Records Dropping because of 0 values

Post by Shaanpriya »

vemisr wrote:Hi Experts,

i am doing calculations in minutes and $ values, i am getting 0 values .

it has to send these records with acct_number and amount 'zero values' to target. but it's droping. tried with datatype "decimal' and 'numeric' also , still records are doped.

here is the log : "Field 'ED_LOS_GRP_MIN' from input dataset '0' is NULL. Record dropped. "


thx
Vemisr
Datatype issues also causes the records to be dropped. Double check the types
smeliot
Participant
Posts: 19
Joined: Sun Mar 18, 2007 7:31 pm

Post by smeliot »

What is the If statement that you used? Are you using one of the NullTo... functions?
Post Reply