Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

SAS FAQ How do I locate the SAS temporary work directory?

directory locate SAS Temporary
0
Posted

SAS FAQ How do I locate the SAS temporary work directory?

0

Sometimes, you might need to know the path to the temporary work directory that SAS uses. There are at least two ways to do it. First method is via point-and-click in Windows environment. Right click on the icon of work in SAS and choose “Property”. It will show something as follows. The point-and-click method might be good enough for a lot of users. But what if we want to pass this information to a SAS program or what if we are not in Windows environment? Here is how to do it via syntax. Notice that the code is not case-sensitive. %put %sysfunc(getoption(work)); 1 %put %sysfunc(getoption(work)); c:\saswork\_TD308 We can also create a macro variable to store the location for future use.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123