That is indeed one of the workarounds I consider. The other is to write proc sql; create table F3 as select nom, (c)+0 as c3, case when calculated c3 > 0 then x**2 else 0 end as x3 from F1; quit; I'm still not decided which I should choose. The second one has the (dubious?) advantage to be faster, since I do not have to evaluate again the value c, but it may be a very, very tiny performance penalty to use the second one (only very complex Boolean conditions would impede on performance). close
... View more