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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aloysius LowCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Statistical Analysis System (SAS)

From novice to tech pro — start learning today.