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
kalpanam
Participant
Posts: 39
Joined: Sat Apr 19, 2008 6:14 am

Converting a nullable source to a non-nullable result

Post by kalpanam »

Hi All,

I have job design as below:

dataset------>cpy----->DB2

in dataset i have two columns,one is order_nbr(decimal(9,0) and nullable value is "no".The other one is order_key(integer(10) and nullable is yes.The job ran successfully but getting warning as "When checking operator: When binding output schema variable "outRec": When binding output interface field "INTERNET_ORDER_NBR" to field "INTERNET_ORDER_NBR": Converting a nullable source to a non-nullable result;
a fatal runtime error could occur; use the modify operator to
specify a value to which the null should be converted."

Can any one help me out on this?

Thanks & Regards,
Kalpana.
Kalpana Marupudi
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

(note - you have two different questions with the same topic, this can lead to confusion)

When you read from a DB2 stage the column attributes come from the database, not from the DB2 stage column settings. Turn on "APT_PRINT_SCHEMAS" to confirm this.

the INTERNET_ORDERN_NBR column in DB2 is nullable.
Last edited by ArndW on Tue Sep 21, 2010 7:41 am, edited 1 time in total.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ArndW wrote:(note - you have two different question with the same topic, this can lead to confusion)
Note, fixed. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply