Converting a nullable source to a non-nullable result;

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
Marley777
Premium Member
Premium Member
Posts: 316
Joined: Tue Jan 27, 2004 3:26 pm

Converting a nullable source to a non-nullable result;

Post by Marley777 »

Hi, thanks for reading.

What is this error telling me. I'm getting this error on fields where nullable is set to 'no'. Fields are set not nullable throughout the job. The fields are comming from source db2 tables.


"Converting a nullable source to a non-nullable result;
a fatal runtime error could occur;
use a modify operator to specify the value to which the null should be converted. [api/interface_rep.C:963]"

Thanks for your help.
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

It is telling you to handle NULL values that might come from the source. Because you are mapping a nullable field from the source table to a not nullable field on target there is every possibility that you might get NULL values from source. You need to define a default value for NULL's that are coming from source.
Kris

Where's the "Any" key?-Homer Simpson
Marley777
Premium Member
Premium Member
Posts: 316
Joined: Tue Jan 27, 2004 3:26 pm

Post by Marley777 »

but the fields are set to 'nullable = no' throught the job. This is not a nullable filed, so why do we get the message? Thanks for your help.
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Check how the fields are defined in the table.
You are the creator of your destiny - Swami Vivekananda
Post Reply