| Date: | Fri, 1 Aug 1997 13:33:16 GMT |
| Reply-To: | Dave Haans <!remove!haans@CHASS.UTORONTO.CA> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Dave Haans <!remove!haans@CHASS.UTORONTO.CA> |
| Organization: | University of Toronto |
| Subject: | Re: Saving a dataset into an ascii file |
|---|
You might try this; I've used it for exactly the purpose of getting summary
stats into a tab-delimited format which Excel reads quite easily.
data _null_;
set in; /* Name your SAS dataset here */
file 'c:\excel.txt'; /* The output file */
put var1 '09'x var2 '09'x var3 '09'x; /* '09'x is a TAB char */
run;
Something like that should do it for you.
Cheers,
Dave.
In article <33E11622.60E2@cica.es>, Manuel Garcia-Ayuso <mgayuso@cica.es>
wrote:
>Hello, there,
>
>I am a SAS beginner and this is my first time in comp.soft-sys.sas, so
>sorry if my question is too naive.
>
>Can anyone tell me if it is possible to save a SAS dataset in ascii
>format so that it can be retrieved with Excel or handled with some
>other statistical package/languaje?
>
>Thanks in advance,
>
>
>Manuel.
>
>
>
>Manuel Garcia-Ayuso
>Department of Accounting
>University of Seville
--
Dave Haans
Graduate Student, University of Toronto
WWW: http://www.chass.utoronto.ca:8080/~haans/
Please remove the '!remove!' spam-buster before replying
|