Treatment of NULLS in DS

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
raviyn
Participant
Posts: 57
Joined: Mon Dec 16, 2002 6:03 am

Treatment of NULLS in DS

Post by raviyn »

Hi,
I noticed a strange thing , let me know if anybody has faced a similar problem.

Inside the transformer I have used in the Derivation for two columns as @NULL , the O/P is going to a sequential file . What has happened is where the metadata for the column was Decimal(3,2) , the Data in sequential file has been written as 0.00 , but in a different column where i have used the same derivation where the column metadata is Decimal(2,0), the value being written to the Seq. file is NULL(Blanks) only.It is a fixed format file. :shock:

Regards.
bapajju
Participant
Posts: 82
Joined: Wed Nov 19, 2003 11:58 pm

Re: Treatment of NULLS in DS

Post by bapajju »

I simulated the same case in Windows environment and to my utter surprise :o I too got the same result i.e instead of NULL value I got 0.00.Just trying some round about ways to resolve the issue and will keep you posted incase I get any solution.
Post Reply