How to use where if in data step?

data want1;
set have;
where cPOSMode in ('07','90');
run;
data want2;
set have;
where cPOSMode in ('02')
and cToken is not null
and cPvder is not null
and idTReq is not null;
run;
data want1; set want1 want2;run;