Reassign location on SAS “WORK” folder March 6, 2007Posted by riskopedia in SAS.
Have you ever ran into problems that your harddrive is not big enough to run your temporary dataset? Or you are running a big job and wanted to use your external harddrive instead?
Normally when you start a new session in SAS, a “work” folder is automatically linked to the location of SAS temporary folder. If you want to change it, here are two ways of doing it (the following only applies to PC SAS version, not E-Guide or any other Server type SAS. Will explain later)
- Go to your config.sas, usually is in your SAS programs folder. Search for “-work”, then you should find a line of code with –> -work “C:/path….”, you just need to change this path, and then save the config.sas files. Hence, the work folder will point to the new location when start up next time
- Another way to do it, is alter the shortcut by adding –> -work “path name”. That should resolve your problem too.
Reason why it cannot apply to E-Guide server version because the config.sas file is on the SAS server, rather than User’s PC. Hence, all you need to do is asking your SAS Server admin to change that for you.