BookmarkSubscribeRSS Feed
Go
Quartz | Level 8 Go
Quartz | Level 8

    We have several sas datasets that gets updated daily, on the other hand these datasets are being pulled by different users at the time and hence our process fails during daily update due to the lock being held from a different user.
    
Is there a way to avoid this situation?

5 REPLIES 5
Kurt_Bremser
Super User

My method is to use the operating system's (UNIX) commandline to forcibly remove the dataset before creating it.

As long as one has write permission for the directory (library) containing the dataset, this can't fail.

 

Another method is to define a daily window for updating and stoppping the workspace server service during that time.

JuanS_OCS
Amethyst | Level 16

Good ones Kurt.

Another option is to get license for SAS/SHARE, then you can avoid those kind of problems

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Sounds like access should be restricted at update time.  Alternatively a staged approac, i.e. before updating the dataset a snapshot is made, this becomes available to users whilst behind the scenes the main dataset gets updated.  But personally I would want to set it up that access closed whilst the update runs, unless its lifethreatening.  

LinusH
Tourmaline | Level 20

What kind of updates do you have?

And how large are thables that you need shared access on?

 

SAS/SHARE is mainly for small data sets, and suits data entry applications, but not large DW/DM schemas.

For that SAS has SPD Server, or if your organization have an external RDBMS that they are comfortable with.

Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1093 views
  • 0 likes
  • 5 in conversation