Sequential File reads decimal field value of Zero as NULL

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
kamesh
Participant
Posts: 72
Joined: Tue May 27, 2003 1:47 am

Sequential File reads decimal field value of Zero as NULL

Post by kamesh »

Hi,
This might be very stupid question but I am unable to figure why sequential file is reading a decimal filed value of zero as null. This is causing issues in my development logic. Please guide!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

"All zeroes" is technically not a valid value for a decimal. There is a setting that allows DataStage to treat it as such, but I can't recall what it is at the moment. Hopefully someone else will contribute that before I get to check.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply