This post was kindly contributed by SAS & Statistics - go there to comment and to read the full post. |
data fmt(keep=fmtname start label);
      set temp;
      fmtname=”TRTFMT”;
      start=trtgrp;
      label=trtlbl;
run;
proc format library=work cntlin=fmt;
run;
=================
TEMP:
trtgrp      trtlbl
1            Treatment 1
2            Treatment 2
3            Placebo
This post was kindly contributed by SAS & Statistics - go there to comment and to read the full post. |