Handle_null() function in modify stage

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
kalpanam
Participant
Posts: 39
Joined: Sat Apr 19, 2008 6:14 am

Handle_null() function in modify stage

Post by kalpanam »

Hi All,

I'm having input column order_nbr(decimal9,0) nullable but while loading this to target i'm handling null values by using modify stage function as Handle_Null(order_nbr,"").But is giving error message as "Bad literal for type decimal: ."

Please let me know what is wrong in the above?

Thanks & Regards,
Kalpana.
Kalpana Marupudi
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Space or blank is not a decimal value. Use a number
kalpanam
Participant
Posts: 39
Joined: Sat Apr 19, 2008 6:14 am

Post by kalpanam »

Sainath.Srinivasan wrote:Space or blank is not a decimal value. Use a number
Yes,now i used Handle_Null(order_nbr,0) and it is working fine.

Thanks for your timely response.

Regards,
Kalpana.
Kalpana Marupudi
Post Reply