Would you mind letting me know the difference of those two codes? I really don't know functionally what the difference is / what makes the difference of the 2 observations.
1)
data cleandata36;
set cert.input36;
if upcase(Group) in ('A', 'B') then do;
end;
run;
proc contents data=cleandata36;
run;
2)
data cleandata36;
set cert.input36;
if upcase(Group) in ('A', 'B');
run;
proc contents data=cleandata36;
run;
"Then do" is one difference. So, the only one difference of two codes is 'observation'
1)
Observations
2)
Observations
Thank you.