Changing the temporary file directory in SAS

I need to use the PROC.SQL statements for my analysis. The problem is that SAS uses the C drive to create temporary files when using SQL statements. My datasets are very large and I do not have enough space for this. Could you explain to me how to distribute this temporary file in a different place, and not on C drive?

+4
source share
3 answers

You want to change the system parameter WORK. You can do:

c:\sas\sas.exe -work d:\temp

use the directory d:\temp.

You can also use the statement OPTIONSin the configuration file used when starting SAS (thanks Tom ):

options work='d:\temp'

See also:

+5

'user'. , , WORK.

 libname user 'path to other location';
0

sas, sasv9.cfg. ( : C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg). -WORK -UTILLOC.

. , 1, - https://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n1qr5dmzagn9krn1lt1c276963za.htm

0
source

Source: https://habr.com/ru/post/1674886/


All Articles