data newtable;set oldtable;if name="王" or name=“张” then name=1;else name="刘" or name="陈" then name=2;run;