Date: Tue, 3 Apr 2007 21:54:10 +0200
Reply-To: Martin Gregory <gregorym@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Martin Gregory <gregorym@T-ONLINE.DE>
Organization: T-Online
Subject: Re: How to assign a different directory for the work folder
In-Reply-To: <2C6B65AAC3623140922DE580669C456ACF1C02@LTA3VS001.ees.hhs.gov>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 04/03/2007 04:22 PM, Fehd, Ronald J. (CDC/CCHIS/NCPHI) wrote:
>> From: Ankur Shanker
>
>> I want to change the directory of the work folder from the
>> default directory (/usr/tmp/SAS_workB91900004B5A_Evs01Sas03)
>> to a new one. Is it possible in SAS9.1.3. We work on SAS
>> using the linux server platform.
>
> you probably do -not- want to do this
> as sas allocates a temp folder and deletes at end of session
One reason you might want to do this is that you have a file system with
more space than /usr/tmp, or if you have simultaneous jobs that you'd
like to make sure are using different file systems. Using the -work option:
sas -work /my/big/filesystem
still behaves in the same way w.r.t creation and deletion of the work
directories - it creates them in the named directory and (normally)
deletes them at the end of the session.
In addition to the above, command line option, and the other suggestion
you got on modifying sasv9.cfg, you can also use the SASV9_OPTIONS
environment variable. I found this to be a useful way to
set the option on a per user basis (define it in your .profile), or in
the case where you don't have write access to the default sasv9.cfg and
don't want to create a new one just for one option.
regards,
Martin
|