Transformer Compilation issue on unhandled Nulls
Posted: Thu May 23, 2013 9:16 am
Hi
This is on V 8.5
The below derivation throws compilation error
However the below compiles fine
I have performed Null Handling in the stage variable and would like to use the first derivation , Not sure why the compilation Error
This is on V 8.5
The below derivation throws compilation error
Code: Select all
If svrEarlyStartNullInd=0 AND (MidnightSecondsFromTime(TimestampToTime(LkOutTo_LkUp_Loc.TGT_WRKD_ST_TIME)) < MidnightSecondsFromTime(TimestampToTime(LkOutTo_LkUp_Loc.TGT_MIN_SHFT_ST_TI)))
Then 'Early Start' Else 'T'
Code: Select all
If IsNull(LkOutTo_LkUp_Loc.TGT_WRKD_ST_TIME) OR ISNull(LkOutTo_LkUp_Loc.TGT_MIN_SHFT_ST_TI) Then 'R' Else If (MidnightSecondsFromTime(TimestampToTime(LkOutTo_LkUp_Loc.TGT_WRKD_ST_TIME)) < MidnightSecondsFromTime(TimestampToTime(LkOutTo_LkUp_Loc.TGT_MIN_SHFT_ST_TI)))
Then 'Early Start' Else 'T'