BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi, our team has a series of cubes that we have update on a nightly basis, we've recently been running into errors (error code 1012) during our update cycle (which occurs at 2am), we receive the following error:

ERROR: File is already locked by another user.
ERROR: The physical cube cannot be deleted.
NOTE: The SAS System stopped processing this step because of errors.
ERROR: Cube "HMMKT_ACQ_CMPGNS" exists. You must use the DELETE_PHYSICAL option in PROC OLAP to remove the physical cube before
NOTE: The SAS System stopped processing this step because of errors.

We're essentially deleting the cube then rebuilding it with our new data.
Is there a way for us to somehow determine if our cube is being used before our update kicks off, also, if we can; can we then terminate the connection so we can proceed with our normal update procedure?

Thanks,
Casey
1 REPLY 1
GertNissen
Barite | Level 11
Have a look at this paper "How to Update Cubes on an Active SAS® OLAP Server" http://support.sas.com/techsup/technote/ts712.pdf

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
  • 1043 views
  • 0 likes
  • 2 in conversation