Date: Tue, 20 Jan 2004 13:22:36 -0600
Reply-To: Michal Lijowski <michal@CVU.WUSTL.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Michal Lijowski <michal@CVU.WUSTL.EDU>
Organization: Washington University in St. Louis
Subject: Starting with SAS, again
Content-Type: text/plain; charset=us-ascii; format=flowed
Hello,
I would like to save results from PROC MEANS into ASCII
file and I would like to have a header above each column.
How would I do it? Below it part of SAS code.
Thanks,
Michal
filename output "CompetitionAverages.txt";
data _NULL_ ; set "AverageTest";
file output;
put @2 FrameNo 3. @12 AngioAvMean 8.2 @22 AngioAvStd 8.2 @32
AngioAvMeanErr 8.2
@42 BackAvMean 8.2 @52 BackAvStd 8.2 @62 BackAvMeanErr 8.2
@72 MuscAvMean 8.2 @82 MuscAvStd 8.2 @92 MuscAvMeanErr 8.2
@102 RatioAngioMMean 8.2 @112 RatioAngioBStd 8.2 @122
RatioAngioBMeanErr 8.2 @132 RatioAngioBCV 8.2
@142 RatioAngioMMean 8.2 @152 RatioAngioMStd 8.2 @162
RatioAngioBMeanErr 8.2 @172 RatioAngioMCV 8.2;
run;
|