BookmarkSubscribeRSS Feed
shl007
Obsidian | Level 7

Hi - I've been trying various approaches to no avail. I have a DATA step that outputs to multiple datasets using an IF statement. The error I keep getting is, ERROR: Rename of temporary member for xxx.xxx failed. (where xxx.xxx is the library.dataset name). I saw a SAS knowledge base article saying to create new datasets instead of updating existing ones in place, but that doesn't seem to be working. Has anyone else come across a solution to this error message?

2 REPLIES 2
Reeza
Super User
Please show your code and log with the actual error.
Tom
Super User Tom
Super User

Usually causes by anti-virus software locking files.

https://support.sas.com/kb/62/333.html

 

It is probably more likely to occur for your step that is re-creating/renaming multiple files at once.

 

Have your system local support team debug with SAS support.

 

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2092 views
  • 0 likes
  • 3 in conversation