BookmarkSubscribeRSS Feed
deleted_user
Not applicable
The default path of work library is disk C. However, I want to change the path to another disk. How to modify the setup in EG?
2 REPLIES 2
Peter_C
Rhodochrosite | Level 12
it may be problem to change the path of WORK.
However, you might not need to.
You can use the same code but data will be written to "another path", if you use [pre] libname USER 'another path' ;[/pre] at the beginning of your SAS code.
Any dataset reference in SAS code with a single level name (that is, no libname) will be written to the USER libname once it is assigned.
Of course, as this is not the work library, you will have to manage its contents, and their deletion when appropriate.
This feature applies to data sets and data set views, not to catalogs.

PeterC Message was edited by: Peter.C
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Have a look at this SUGI/SGF technical paper.

http://www2.sas.com/proceedings/forum2008/180-2008.pdf

Scott Barry
SBBWorks, Inc.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2213 views
  • 0 likes
  • 3 in conversation