Solved

SAS temporary work directory?

Posted on 2016-08-05
3
61 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now