Null handling issue

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
verify
Premium Member
Premium Member
Posts: 99
Joined: Sun Mar 30, 2008 8:35 am

Null handling issue

Post by verify »

Hi,

I have source as database where the columns are not nullable.This i need to map to nullable columns.The job got executed with warnings as converting non nullable to null,even after using modify stage.
Can some one please help it out.

Thanks in Advance.
RK Raju
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have you a NOWARN specification in your Modify stage?

Are you specifically handling null from input, even though you know it will never occur?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
verify
Premium Member
Premium Member
Posts: 99
Joined: Sun Mar 30, 2008 8:35 am

Post by verify »

Yes Ray you're absolutely correct, "I'm handling null from input eventhough it never occurs".
The requirement is to map the input(non-nullable) column to the same output(nullable) column.My job was finished with warnings as "converting non-nullable to null".
I want to avoid this warnings.

How to put "NOWARN" specification in modify stage?
Could you please tell me the syntax?

Thanks..
RK Raju
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's a separate Specification containing the single word NOWARN
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