if x then delete;
if status='OK' and type=3 then count+1;
if age ne agecheck then delete;
if x=0 then
if y ne 0 then put 'X ZERO, Y NONZERO';
else put 'X ZERO, Y ZERO';
else put 'X NONZERO';
if answer=9 then
do;
answer=.;
put 'INVALID ANSWER FOR ' id=;
end;
else
do;
answer=answer10;
valid+1;
end;
data region;
input city $ 1-30;
if city='New York City'
or city='Miami' then
region='ATLANTIC COAST';
else if city='San Francisco'
or city='Los Angeles' then
region='PACIFIC COAST';
datalines;
...more data lines...
;