Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SAS temporary work directory?

Posted on 2016-08-05
3
Medium Priority
?
184 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 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

877 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