Solved

SAS temporary work directory?

Posted on 2016-08-05
3
68 Views
Last Modified: 2016-11-17
Hi Everyone,

I'm working on a SAS project and we are currently working on setting up the folder directories.  Does anyone know how to change the default SAS temporary work directory?
0
Comment
Question by:Josh Gier
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Aloysius Low earned 500 total points
ID: 41745185
the settings reside in some sasv9.cfg file

in your SAS code, run the following code
PROC OPTIONS; RUN;

in the resulting log, look for configuration (or something like that) else search for sasv9.cfg file) - you should get a bunch of it..

open up that file (and probably there would be a few listed) and look for -SASWORK

if inside the file, you find another .CFG file being mentioned, open that one too (it's like being a file being nested in another file)

make the change to the directory being listed under the -SASWORK option and restart the SAS session and you are done.

note that this is a permanent change which affects all users though
1
 

Author Comment

by:Josh Gier
ID: 41748244
Aloysius Low,

Thanks for the comment.  I'll test it out tomorrow and let you know the results.  Appreciate the information/solution suggestion.
0
 

Author Closing Comment

by:Josh Gier
ID: 41756997
Worked!  Took a little tinkering and adjustments but it worked.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question