BookmarkSubscribeRSS Feed
hogego
Calcite | Level 5

Hi all.

 

An event that cannot be understood has occurred....

 

Windows error when trying to delete a SAS Dataset using Proc datasets.

For example, if the deletion target is t1, an error occurs for another table t2!

 

proc datasets lib = test1 nolist nowarn memtype = (data view);
  delete t1;
quit;

ERROR: Windows error code: 18 in hc_member_data for D:\xxxxx\t2.sas7bdat

 

Certainly at the same time another process is also deleting and creating the data of t2 in another process.

 

Why does that occur in the process that manipulates t1?

 

By the way, SASM6 is used.

 

Regards.

1 REPLY 1
Oligolas
Barite | Level 11
proc datasets lib = test1 nolist nowarn memtype=view;
  delete t1;
run;quit;
________________________

- Cheers -

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1172 views
  • 0 likes
  • 2 in conversation