Null Strings
Posted: Wed Sep 15, 2004 7:41 am
I have several warnings in my log file due to some ICONV conversions that I did to convert Char values to dates, which worked. However, since there are nulls and PeopleSoft fields all have Not Null constraints that cannot be removed, I had to use an If Else statement. See log error below:
DA_DEPT_EXTN_new..Transformer_1: At row 1, link "DataOUT", while processing column "DA_UNIT_INACTV_DT"
Value treated as NULL
Attempt to convert String value " " to Date type unsuccessful
If IsNull(Column) Then " " Else Iconv(column,"D")
What other null parameters could I use? I have tried the NullToEmpty function/routine, "", and call the empty string from a stage variable.
DA_DEPT_EXTN_new..Transformer_1: At row 1, link "DataOUT", while processing column "DA_UNIT_INACTV_DT"
Value treated as NULL
Attempt to convert String value " " to Date type unsuccessful
If IsNull(Column) Then " " Else Iconv(column,"D")
What other null parameters could I use? I have tried the NullToEmpty function/routine, "", and call the empty string from a stage variable.