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.

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1893 views
  • 0 likes
  • 3 in conversation