Stage Variable problem
Posted: Fri Jul 11, 2008 2:45 pm
Hi,
Iam using a stage variable "SV" and it has data type varchar 255, in derivation field for SV I have given expression as
IF ln1.DIV = '20' then (Trim(ln1.con),4) else SetNull()
When Iam compiling a job it is giving an error saying
Setting null to this non-nullable field: StageVar0_SV.
I need help in this stage variable issue. My question is can I use SetNull function in stage variable, if so how to do that
Thanks,
Somaraju.
Iam using a stage variable "SV" and it has data type varchar 255, in derivation field for SV I have given expression as
IF ln1.DIV = '20' then (Trim(ln1.con),4) else SetNull()
When Iam compiling a job it is giving an error saying
Setting null to this non-nullable field: StageVar0_SV.
I need help in this stage variable issue. My question is can I use SetNull function in stage variable, if so how to do that
Thanks,
Somaraju.