Date: Tue, 18 Mar 2008 09:09:37 -0700
Reply-To: jfh@stanfordalumni.org
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject: Programming with PROC REPORT: would this be an interesting paper?
Content-Type: text/plain; charset="ISO-8859-1"
I don't recall seeing a paper on this, but I don't see everything.
If you need to create a report and also run some SAS code based on the
values in the report (dynamically created code), you have at least three
options:
- Create a reporting data set containing the data you need. Run that
data set through a reporting procedure, and also through a step step to
create your dynamic code.
- Create your report using PROC REPORT, and also create an output data
set. Run that data set through a data step to create your code.
- Create your report using PROC REPORT, and also use COMPUTE blocks to
create your dynamic code (probably using CALL EXECUTE, but there may be
other ways).
Has anyone done a paper on that last possibility? Would anyone be
interested in seeing such a paper? It's time to submit proposals to
regional user groups.
--
Jack Hamilton
Sacramento, California
jfh@alumni.stanford.org