From: "Elmaache, Hamani" on
Hi there.
I need some help.

I want to create dataset if the condition is satisfied, else don't
create at all a dataset. Here a code I wrote, but it doesn't work. Can
anyone correct this code below?
Thanks.


data outputa _NULL_ ;
set outliers;
attrib &vara length=8
informat=DOLLAR8. format=DOLLAR8. ;
if &percenta >0.2 then output outputa;
else output _NULL_ ;
run;