APT_CombinedOperatorController(7),0: -help needed urgently

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
dsuser_cai
Premium Member
Premium Member
Posts: 151
Joined: Fri Feb 13, 2009 4:19 pm

APT_CombinedOperatorController(7),0: -help needed urgently

Post by dsuser_cai »

Hi

DS 7.5.2
DB: oracle 10g

I have a job that has a dataset as source, and several look ups and all of them are joined using a merge stage and then load it to a dataset. now if i run this job i get the following warning message and it says job aborted.

warning message:

APT_CombinedOperatorController(7),0: Field 'AMOUNT_TYPE_KEY' from input dataset '0' is NULL. Record dropped.

can anybody hepl me fix this.
Thanks
Karthick
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not sure why something like this would be "urgent". :?

First thing you'd find searching here would be an error from "CombinedOperator" gives you no clue as to the stage giving the error. Disable Operator Combinality and then post the error. In the meantime, search for a generic portion of your message, something that's not specific to you but is enough to find other people with similar postings. For example, an exact search for "is NULL. Record dropped." returned 50 matches. The truth is out there.
-craig

"You can never have too many knives" -- Logan Nine Fingers
dsuser_cai
Premium Member
Premium Member
Posts: 151
Joined: Fri Feb 13, 2009 4:19 pm

Post by dsuser_cai »

Hi
Thank you so much for the suggestion, i really appreciate that. im sorry i was in a hurry thats why, I still have the warning message. but when i tested the same job by running from the designer it ran, but when i run the sequence from the DS director it aborts, so i removed the limits for the warning messages (which was set to 50) and my job didnt abort. I know this is not the right solution, but for time being i was able to handle this.

i will work on this and find the solution and will keep u updated.

thank you so much.
Thanks
Karthick
vinothkumar
Participant
Posts: 342
Joined: Tue Nov 04, 2008 10:38 am
Location: Chennai, India

Post by vinothkumar »

Hi,
Check the properties of all lookup stages that are used in your job. There are some properties which can tell the job how to handle if lookup doesn't exists. Simply change that property to REJECT. It will eliminate that warning.
Pagadrai
Participant
Posts: 111
Joined: Fri Dec 31, 2004 1:16 am
Location: Chennai

Re: APT_CombinedOperatorController(7),0: -help needed urgent

Post by Pagadrai »

Is the Field 'AMOUNT_TYPE_KEY' defined as Not NULL?
Scope
Premium Member
Premium Member
Posts: 63
Joined: Wed Jun 06, 2007 6:38 am
Location: Chennai

Post by Scope »

Are you using any transformer stage in the job?
Kumarez
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Scope wrote:Are you using any transformer stage in the job?
It surely seems to be transformer where there are some transformations applied on 'AMOUNT_TYPE_KEY'. avoid using transformation on null values.

you can use syntax like:

Code: Select all

If IsNull('AMOUNT_TYPE_KEY') Then SetNull() Else Trim('AMOUNT_TYPE_KEY')
Hope i understood it correct if not then disable operator combination and then post the log.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
v2kmadhav
Premium Member
Premium Member
Posts: 78
Joined: Fri May 26, 2006 7:31 am
Location: London

Post by v2kmadhav »

if you are equating that column to a value in a if then else statement

equate the value to NullToEmpty(Column)='the value'
kumarb.suneel
Participant
Posts: 7
Joined: Wed Aug 13, 2008 2:35 am
Location: kuala lumpur

Post by kumarb.suneel »

i think what priyadarshikunal said is right,need to handle the null values properly when doing any arithmetic operations or uaing functions like 'Trim' or the column is defined as a key etc. other wise the record will drop.
Post Reply