BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
cx2019
Obsidian | Level 7

Why the directory path of a temporary library differs from before when we restart SAS?

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

You will find a clue in your subject line:

Temporary - "lasting for only a limited period of time; not permanent."

 

The temporary folder is there as a temporary storage of items for the session only, it disappears at the end of the session.

View solution in original post

3 REPLIES 3
RW9
Diamond | Level 26 RW9
Diamond | Level 26

You will find a clue in your subject line:

Temporary - "lasting for only a limited period of time; not permanent."

 

The temporary folder is there as a temporary storage of items for the session only, it disappears at the end of the session.

ballardw
Super User

Adding to @RW9's response. If you manage to crash SAS or have a power failure or similar then when SAS restarts is does not reuse your old folder so temporary work might be recoverable.

Kurt_Bremser
Super User

The directory name used for the WORK library has (among other things) the process number encoded, so that a certain directory can always be connected with its SAS session. The cleanwork utility uses this to find orphaned directories from crashed sessions.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 898 views
  • 3 likes
  • 4 in conversation