SAS temporary work directory?

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?
Josh GierProgrammer Analyst IIIAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Aloysius LowConnect With a Mentor Commented:
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
 
Josh GierProgrammer Analyst IIIAuthor Commented:
Aloysius Low,

Thanks for the comment.  I'll test it out tomorrow and let you know the results.  Appreciate the information/solution suggestion.
0
 
Josh GierProgrammer Analyst IIIAuthor Commented:
Worked!  Took a little tinkering and adjustments but it worked.
0
All Courses

From novice to tech pro — start learning today.