I need to divert utility files to a larger space than work library. (working with proc ginside that seems to create a big threaded utility file and creating error of insufficient space in work library).
One of the solutions I found is to add options utilloc='larger space path' in configuration. However, I am getting this error message while changing my configuration.
Will be helpful to know if someone is familiar with this option. I am using 9.4 version and Enterprise Guide interchangeably; both of which has same config. file as I understand.
You can either define this in a configuration file (..._usermods.cfg) or in an autoexec (..._usermods.sas).
In a config file the syntax is:
-utilloc "D:\utility"
In an autoexec the syntax is:
options utilloc="D:\utility";
UTILLOC should point to your disk with the best I/O or there will be a negative performance impact.
How exactly are you specifying the option in the config file?
Specifically, you don't have the options keyword in the statement?
It should likely be:
-utilloc 'path to file'
@RealePrimavera wrote:
I need to divert utility files to a larger space than work library. (working with proc ginside that seems to create a big threaded utility file and creating error of insufficient space in work library).
One of the solutions I found is to add options utilloc='larger space path' in configuration. However, I am getting this error message while changing my configuration.
Will be helpful to know if someone is familiar with this option. I am using 9.4 version and Enterprise Guide interchangeably; both of which has same config. file as I understand.
Thanks, Reeza for pointing out. I was in fact using "options" in the statement; changed it now per the document.
However, my intermediate utility files are not being directed yet to the new path and I am back to the same error of "insufficient space in work library". Any idea about why/how?
Currently, my configuration file reads as:
-config "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg"
-utilloc="D:\utility"
Did you create the physical folder D:\utility on your D drive? - I think the folder must exist before SAS is started.
good point though I already had it created 🙂
Do you want the equal sign? You didn't use one for the -config option.
You can either define this in a configuration file (..._usermods.cfg) or in an autoexec (..._usermods.sas).
In a config file the syntax is:
-utilloc "D:\utility"
In an autoexec the syntax is:
options utilloc="D:\utility";
UTILLOC should point to your disk with the best I/O or there will be a negative performance impact.
Thank you, @Patrick
In fact, I was using equal signs misled by utilloc document which for options statement.
In configuration file, one needs to mention the options with hyphen sign.
Here, is the configuration syntax document for future explorers:
Best,
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.