Multiple If conditions with Or Operator not working in v8.5
Posted: Thu Nov 03, 2011 2:54 am
Hi,
I am using below derivation for a column in transformer.
If Right(DSLink2.PRODCUTID,2)='10' Or Right(DSLink2.PRODCUTID,2) ='30' Or Right(DSLink2.PRODCUTID,2)='50' Then 'GNAN9999' Else
If Right(DSLink2.PRODCUTID,2)='20' Or Right(DSLink2.PRODCUTID,2) ='40' Or Right(DSLink2.PRODCUTID,2)='60' Then 'GNAN1111' Else DSLink2.VALUE
The job is giving dbx: not found error
Please give me suggestion to resolve this issue.
If I write only single if condition with Or operator it is working fine.
If Right(DSLink2.PRODCUTID,2)='10' Or Right(DSLink2.PRODCUTID,2) ='30' Or Right(DSLink2.PRODCUTID,2)='50' Then 'GNAN9999' Else DSLink2.VALUE
This job is in v8.5. The same logic is working fine in v7.5 with out any warnings/fatals.
I am using below derivation for a column in transformer.
If Right(DSLink2.PRODCUTID,2)='10' Or Right(DSLink2.PRODCUTID,2) ='30' Or Right(DSLink2.PRODCUTID,2)='50' Then 'GNAN9999' Else
If Right(DSLink2.PRODCUTID,2)='20' Or Right(DSLink2.PRODCUTID,2) ='40' Or Right(DSLink2.PRODCUTID,2)='60' Then 'GNAN1111' Else DSLink2.VALUE
The job is giving dbx: not found error
Please give me suggestion to resolve this issue.
If I write only single if condition with Or operator it is working fine.
If Right(DSLink2.PRODCUTID,2)='10' Or Right(DSLink2.PRODCUTID,2) ='30' Or Right(DSLink2.PRODCUTID,2)='50' Then 'GNAN9999' Else DSLink2.VALUE
This job is in v8.5. The same logic is working fine in v7.5 with out any warnings/fatals.