/* where */
data data1;
Id1=1111; Id2=1111; Id3=1111;
output;
Id1=2222; Id2=2222; Id3=2222;
output;
Id1=3333; Id2=3333; Id3=3333;
output;
run;
proc print data=data1;
where Id1=1111;
run;


- printプロシージャ内でwhere文は使える。
/* if */
data data1;
Id1=1111; Id2=1111; Id3=1111;
output;
Id1=2222; Id2=2222; Id3=2222;
output;
Id1=3333; Id2=3333; Id3=3333;
output;
run;
proc print data=data1;
if Id1=1111;
run;


- printプロシージャ内でif文は使えない。