Hi
In one of my job , a transformer which checks the following null condition
if ISNULL(RM_NULLS.COL1) And IsNotNull(RM_NULLS.COL2) then RM_NULLS.COL3= RM_NULLS.COL4 else RM_NULLS.COL3
for which I am getting warning
APT_CombinedOperatorController,0: Field 'COL1' from input dataset '0' is NULL. Record dropped.
I tried giving a reject link ,but it didnt work ,is there some way to get rid of this warning.
Thanks
Arif
records dropped in transformer
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
Re: records dropped in transformer
Make sure you perform ISNULL check on COL1 in all the references.mab_arif16 wrote:Hi
In one of my job , a transformer which checks the following null condition
if ISNULL(RM_NULLS.COL1) And IsNotNull(RM_NULLS.COL2) then RM_NULLS.COL3= RM_NULLS.COL4 else RM_NULLS.COL3
for which I am getting warning
APT_CombinedOperatorController,0: Field 'COL1' from input dataset '0' is NULL. Record dropped.
I tried giving a reject link ,but it didnt work ,is there some way to get rid of this warning.
Thanks
Arif
Kris
Where's the "Any" key?-Homer Simpson
Where's the "Any" key?-Homer Simpson
-
- Charter Member
- Posts: 87
- Joined: Sat Mar 18, 2006 11:45 pm
Re: records dropped in transformer
Thats the only palce where I am referencing column 1.kris007 wrote:Make sure you perform ISNULL check on COL1 in all the references.mab_arif16 wrote:Hi
In one of my job , a transformer which checks the following null condition
if ISNULL(RM_NULLS.COL1) And IsNotNull(RM_NULLS.COL2) then RM_NULLS.COL3= RM_NULLS.COL4 else RM_NULLS.COL3
for which I am getting warning
APT_CombinedOperatorController,0: Field 'COL1' from input dataset '0' is NULL. Record dropped.
I tried giving a reject link ,but it didnt work ,is there some way to get rid of this warning.
Thanks
Arif
Thanks
Arif
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You don't do assignment in expressions. The original expression should be
Code: Select all
If ISNULL(RM_NULLS.COL1) And IsNotNull(RM_NULLS.COL2) Then RM_NULLS.COL4 Else RM_NULLS.COL3
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.