I was having some problems getting a SP to work with a Boolean Parameter. I have made up a mock example to simplify my code. It seem that I always return a=1 and b=1 whether my boolean value is true or false? here is my code. Thank you in advance for your help. Dan
%Global b1;
data fun;
a = 0;
b = 0;
data fun;
set fun;
if &b1=true then
do;
a = 1;
b = 1;
end;
proc print;
run;
... View more