How to populate/Pass NULL. Equivalent to SETNULL in Px

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
ds2000
Premium Member
Premium Member
Posts: 109
Joined: Sun Apr 22, 2007 7:25 pm
Location: ny

How to populate/Pass NULL. Equivalent to SETNULL in Px

Post by ds2000 »

Im new on server jobs, so please bear me for sometime. We used SETNULL() function in parallel what is equivalent in server.
I want to pass null to db2 date column. Row is loaded with null but Following warning msg comes :

JobLoadFile..Transformer_22: At row 53, link "DSLink24", while processing column "BIRTH_DATE"
Value treated as NULL
Attempt to convert String value "" to Date type unsuccessful
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You use the @NULL system variable.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ds2000
Premium Member
Premium Member
Posts: 109
Joined: Sun Apr 22, 2007 7:25 pm
Location: ny

Post by ds2000 »

It worked. Thanks.
Post Reply