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 (August 1996, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 15 Aug 1996 20:49:40 GMT
Reply-To:   Eric Hoogenboom <ehoogenb@SOLAIR1.INTER.NL.NET>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Eric Hoogenboom <ehoogenb@SOLAIR1.INTER.NL.NET>
Organization:   NLnet
Subject:   Re: how clear out work datasets?

Don Cram wrote: > > Is there some way I can erase / clear work datasets in SAS 6.09 or > 6.11 (in unix on SunOS 2.x or on Solaris) while the program is > running, once the dataset is no longer needed? I have an application > that requires more work space than I have available when I apply it to > a large input dataset. I could break the application into 2 programs, > but don't need to do that for small input datasets, and I would rather > just have one program. > > Is there some way I can erase/clear out macrovariables? In one > application I define 1,400 or so macrovariables. Defining more causes > a memory overflow error. > > I've checked Jaffe's _Mastering SAS System_ book and a few old SAS > version 5 and early version 6 manuals lying around, without success. > Any suggestions will be appreciated. > > thanks, > Don Cram > > -- > doncram@gsb-ecu.stanford.edu > http://www-leland.stanford.edu/~doncram

With the DATASETS procedure you can delete library members (work datasets are member of the WORK library). They are physically removed from your disk.

As for the macro variables. I wonder why you need 1400 macrovariables. Anyway, a suggestion might be to define macrovariables locally in a macro. Use the %local statement. But I'm not sure whether that will help.

Eric.


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