nulls

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
rameshv
Participant
Posts: 11
Joined: Wed Feb 27, 2008 11:14 pm

nulls

Post by rameshv »

Hi
how to handle nulls in source level
singhald
Participant
Posts: 180
Joined: Tue Aug 23, 2005 2:50 am
Location: Bangalore
Contact:

Post by singhald »

If yuo are using oracle enterprise stage, you can use NVL fucntion to handle null.

If you are using sequential stage to read ascii file you can handle them at column level . edit the column and provide NULL value and that will be replaced if found any null.
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Your question is too broad. What kind of source?

Technically sequential files don't have data types and therefore can't have nulls. But we often pretend that they have data types, and therefore must specify how null is represented. This is typically managed through the Null Field Value property.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
abhijain
Participant
Posts: 88
Joined: Wed Jun 13, 2007 1:10 pm
Location: India

Post by abhijain »

Specify your requirement clearly. What type of source it is.

1. Databases have their respective functions to deal with NULL.
2. Sequential file don't have datatype.
3. Transformation functions are there.

Please specify your requirement.
Rgrds,
Abhi
Post Reply