| Date: | Wed, 2 Nov 2005 08:11:24 -0800 |
| Reply-To: | "data _null_;" <datanull@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "data _null_;" <datanull@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: generating patient list |
|
| In-Reply-To: | <1130945949.127291.178790@g43g2000cwa.googlegroups.com> |
| Content-Type: | text/plain; charset="iso-8859-1" |
|---|
I made a mistake with my NOPRINT option. It should be used in the
factors statement, no on the proc statement.
proc plan seed=23456;
factors site=100 ordered block=5 ordered trtgrp=4 random / noprint;
output out=work.plan;
run;
quit;
data work.plan;
set work.plan;
pid = put(site,z3.)||'-'||put(_n_,z4.);
run;
proc print;
run;
|