Date: Wed, 16 Apr 2008 12:54:21 -0500
Reply-To: "Swank, Paul R" <Paul.R.Swank@UTH.TMC.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Swank, Paul R" <Paul.R.Swank@UTH.TMC.EDU>
Subject: Re: how to use results of a proc in rest of program and advice
Content-Type: text/plain; charset="us-ascii"
Use the Output delivery system (ODS). Any output can be sent to a SAS
data set which can then be merged with the existing data.
Paul R. Swank, Ph.D.
Professor and Director of Research
Children's Learning Institute
University of Texas Health Science Center - Houston
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Sent: Wednesday, April 16, 2008 12:25 PM
Subject: how to use results of a proc in rest of program and advice for
Hi, I'm a newbie at SAS and have not been able to refer to individual
resutls of a PROC in a later part of the code.
For example, if I use PROC MEANS and one of the outputs is the mean of
a variable called x, how can I assign this result to a variable that I
can refer to after the "run;" ends that PROC MEANS?
And a more general questions: My prior experience programming has been
in VBA and C (college course, not expert). If anyone has any advise
for the transition from a language like VBA to SAS, I'd really