Datastage agregator is giving error "Invalid Number&quo

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
shivaprasad
Participant
Posts: 17
Joined: Mon Aug 15, 2005 12:57 am

Datastage agregator is giving error "Invalid Number&quo

Post by shivaprasad »

Hi,
Having problem in Agregator stage while running my job,
I have two fields, one is customer_node_ID and other one is charge. i am doing sum(charge) grouping by customer_node_id.

when i run this job i am getting an error stating "Invalid Number"

kindly give me some input why i am getting this error.

Thanks
Shiv
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi,
Kindly give us more input about the input fields.
Data type and Sample of data would work.

Regards
kumar
RaviM
Participant
Posts: 12
Joined: Thu Aug 19, 2004 4:13 pm

Re: Datastage agregator is giving error "Invalid Number

Post by RaviM »

That is bcoz of char/null values are comming in charge field.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
More info would be flow of job stating stages.
The copy of the exact error you get as seen in the log from the DS Director.

I think what you'll find is probably that your column had an invalid number as data in one or more of the rows you fed to the agg stage.

An empty string or space or similar.
You probably need to cleanse your data prior to the agg stage (someting like converting empty strings, spaces and such to a defalut value of zero)

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply