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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1453 views
  • 3 likes
  • 4 in conversation