Originally posted by: muralee
TEXTTODATE function is returning -1 as return code , whenever its failing , iam not able to capture that error code ,
iam trying to do like this
if( CONTAINSERROR(TEXTTODATE(datefield)), "invalid dateformat","valid dateformat")
or
if( (TEXTTODATE(datefield)=NONE, "invalid dateformat","valid dateformat")
when iam trying to execute this rules , its never coming to first argument when date format is invalid.TEXTTODATE function is returning -1 as return code.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange