you can use the format or put statement. for example:
[code:3s7922nl]data yours;
input sex $ smoke $;
cards;
1 1
2 2
;
proc format;
value $sex 1="男" 2="女";
value $smoke 1="是" 2="否";
run;
data out1;
set yours;
S_sex=put(sex,$sex.);S_smoke=put(smoke,$smoke.);
run;
data out2;
set yours;
format sex $sex.
smoke $smoke.;
run;
[/code:3s7922nl]