4

Hi I don't have much space on my C drive so I'm looking to move my work library for SAS EG 5.1 over to a folder on my D drive. How could I do this?

Thanks!

user2835957
  • 68
  • 1
  • 3

2 Answers2

3

Presuming you are using EG to work locally, you can change it in your sasv9.cfg file:

enter image description here

This is usually found in the SASFoundation/nls/en (or equivalent language) directory.

Another option (which avoids changing the config file) is to change the value of the TEMP environment variable. Remember though that SAS is I/O heavy, and if the D drive is a remote network location you may suffer performance-wise..

Allan Bowe
  • 12,306
  • 19
  • 75
  • 124
2

An option if you're unable to modify the Config file, is to define a USER libname:

libname user "d:\saslib\";

or similar. That will become your default one-level libname (ie, if you say data have; that will now be stored in user.have, not work.have). It doesn't override it if you have specified work explicitly, and it doesn't automatically clean up after itself, so be aware of these issues.

Joe
  • 62,789
  • 6
  • 49
  • 67