Date: Mon, 27 Jun 2005 14:10:33 -0400
Reply-To: "Sridhar, Kumar" <nsridhar@MEDAREX.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Sridhar, Kumar" <nsridhar@MEDAREX.COM>
Subject: Question about Compute _before_
Content-Type: text/plain; charset="us-ascii"
In my proc report, I need to list all patients by treatment
group. That is to say, on any single page I can have only patients from
say Treatment Group A.
I have the following code in my proc report:
proc report data=x nowd split='|';
columns trtn subjid lvtdt complet violspe othspec deathdt dcause1
compute before _page_ / left;
line "Treatment Group: " trtn trtgrpn.;
define trtn /'Treatment' group noprint;
define subjid /'Subject' order order=internal;
define lvtdt /'Last Date|of Visit' display;
and so on..
I must be missing something because what I am getting is a listing of
all patients in the study with treatment group not being shown at all.
Do I need to do anything before the proc report (I have sorted my
dataset by all variables present in the columns statement in the same
Any assistance is always appreciated.