max of decimal(38) in aggregator stage gives junk 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
ravi7487
Premium Member
Premium Member
Posts: 25
Joined: Sat Feb 05, 2011 10:03 pm

max of decimal(38) in aggregator stage gives junk values

Post by ravi7487 »

Hi,

My Dimension ID from teradata table is varchar38.
I have to find the max(dimension ID) in aggregator stage

I am converting varchar38 to decimal38 in transformer, and doing max(dimensionID) in aggregator stage.

after the agg stage, My output is coming as some junk integer.

I tried stringtofloat... bigint, double.. all are giving junk numbers.

could you please let me know how to solve this issue.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Perhaps this 'junk' is in your source data?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply