Rows being rejected

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
DS110
Premium Member
Premium Member
Posts: 1
Joined: Tue May 04, 2010 5:57 am

Rows being rejected

Post by DS110 »

Hi,

In our one datastage job fews rows are being rejected from the Transformer stage into a reject link and following is the error.

CCD_Xfm,1: Field 'FMLY_ID' from input dataset '0' is NULL. Record sent to reject dataset.

We tried replicating the same in another job but in that jon rows not are being rejected even source column haing NULL value.

Please help
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Maybe NULL values are allowed in this case. Is the target a nullable column ?

Also check the datatypes. It is possible that datatype conversion may result in NULL.
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

This typically happens when Null handling is not done on the derivations within the Transformer stage that have some kind of transform logic built into it and the source value is NULL. For Example, if your derivation is something like

Code: Select all

Trim(field1)
and if field1 has NULL values, you will have rejected rows.
Kris

Where's the "Any" key?-Homer Simpson
srinivas.g
Participant
Posts: 251
Joined: Mon Jun 09, 2008 5:52 am

Post by srinivas.g »

Use the nulltoempty function
Srinu Gadipudi
Post Reply