i Have written below code on SAS Data flux, as there are many other True/false condition are there, in below condition everything became true assecond part of the query should be false if ((not isnull(`FSP_KATR10`) or not isblank (`FSP_KATR10`)) and (not isnull(`DNP_KATR10`) or not isblank (`DNP_KATR10`))) or ((isnull(`FSP_KATR10`) or isblank (`FSP_KATR10`)) and (isnull(`DNP_KATR10`) or isblank (`DNP_KATR10`))) then begin T_F = 'true' end else begin if (not isnull(`FSP_KATR10`) or not isblank (`FSP_KATR10`)) and inlist(trim(`SYSTEM_ID_DNP`),'P48010','P24010','P45010','P47010','Q26010') and (isnull(`DNP_KATR10`) or isblank (`DNP_KATR10`)) then begin T_F = 'false' `ReasonFalse` = `ReasonFalse` & "Attribute 10 on FSP but not on other SYSTEM ," end else begin if (isnull(`FSP_KATR10`) or isblank (`FSP_KATR10`)) and inlist(trim(`SYSTEM_ID_DNP`),'P48010','P24010','P45010','P47010','Q26010') and (not isnull(`DNP_KATR10`) or not isblank (`DNP_KATR10`)) then begin T_F = 'false' `ReasonFalse` = `ReasonFalse` & "Attribute 10 on other system but not on FSP ," end end end
... View more