data frame;
length TRT01PN 8. TRT01P $200;
do i = 0 to 3;
TRT01PN = i;
if i = 0 then TRT01P = "Placebo";
else if i = 1 then TRT01P = "DOSE TYPE A";
else if i = 2 then TRT01P = "DOSE TYPE B";
else if i = 3 then TRT01P = "DOSE TYPE C";
output;
end;
drop i;
run;
コメント