BookmarkSubscribeRSS Feed
WestChan
Fluorite | Level 6

 

 

Hello, 

 

I am currently testing some new code which requires me to re-run a chunk of proc sql codes several times in a couple of hours. 

 

What Ive found is that after the second time of running a code within 10 minutes, all my files in the Work library is empty. 

 

After some investigation, Ive found that in my temp SAS folder, SAS has been making a new _TD directory  everytime i rerun the code.

 

Does anyone know whay this is happening?  Any way i can force SAS to use the one temp library?

 

Thanks

3 REPLIES 3
Reeza
Super User

Are you running this in batch? Or some other way?



How are you running your code?

 

You can temporarily create a USER library and by default SAS will automatically use that as the 'WORK' library.

LinusH
Tourmaline | Level 20
If you need to reconnect to the workspace server for some reason, your saswork library will lost.
Data never sleeps
ballardw
Super User

If you want data to persist across SAS sessions then you want a a permanent library and assume responsibility for cleaning out "temporary" data when no longer needed. Then you need to make sure the permanent library is available in the new session or after reconnect to any server involved.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1007 views
  • 0 likes
  • 4 in conversation