LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2005, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 28 Sep 2005 14:34:30 -0700
Reply-To:   "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Organization:   http://groups.google.com
Subject:   Re: Outputting multiple SAS files to multiple worksheets - how to
Comments:   To: sas-l@uga.edu
In-Reply-To:   <1127941819.699340.157760@z14g2000cwz.googlegroups.com>
Content-Type:   text/plain; charset="iso-8859-1"

Toby wrote: > Steve, > > I am not totally sure what Howard is talking about when he mentioned > using proc datasets.

Something like:

proc datasets library=sashelp;

libname xlcopy excel 'c:\temp\xl-lib.xls'; copy out=xlcopy memtype=data; select class shoes retail; run; libname xlcopy;

quit;

> However, all you need to do is the following: > > data Alpha ; > set sashelp.class ; > run ; > > data Beta ; > set sashelp.class ; > run ; > > > Libname X1 odbc noprompt="DRIVER=Microsoft Excel Driver (*.xls); > ReadOnly=0;DBQ=C:\Documents and Settings\n898226x\Desktop\Test.xls;"; > > > data X1.Alpha1 ; > set Alpha ; > run ; > > data X1.Beta1 ; > set Beta ; > run ; > > Libname X1 ;[snip]


Back to: Top of message | Previous page | Main SAS-L page