BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BenConner
Pyrite | Level 9

Hi,

 

Does anyone know if different concurrent processes can update a document store?  I have a document store as the name of the project and there are several long running process generating output to different folders within it.

 

Thanks!

 

--Ben

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

Record locking is part of the capabilities of a SAS/SHARE server, a specialized product for this type of requirements. And there it only works on SAS datasets, not on anything else.

A SAS .sas7bitm file is more like a zip or tar archive, not like a database table.

View solution in original post

6 REPLIES 6
RW9
Diamond | Level 26 RW9
Diamond | Level 26

What software are you talking about, this seems to have nothing to do with Base SAS where you have posted?  Clarify your question, provide software/version, examples etc.

Kurt_Bremser
Super User

An ODS document store is a single .sas7bitm file. Since operating systems only allow write access to a file for one process at a time (and lock others out), I don't think that concurrent processes can write to a single document store at a given time.

BenConner
Pyrite | Level 9

Thanks for switching it to the right area, Kurt.  Been working with it so much lately I forget it is part of ODS.

 

Since SAS can support record-level locking for SAS datasets, was hoping the same might be true of document stores.  I will construct a test case to verify it.  

 

Thanks!

 

--Ben

Kurt_Bremser
Super User

Record locking is part of the capabilities of a SAS/SHARE server, a specialized product for this type of requirements. And there it only works on SAS datasets, not on anything else.

A SAS .sas7bitm file is more like a zip or tar archive, not like a database table.

BenConner
Pyrite | Level 9
Ah. Thanks, Kurt. Good to know! I can always just use different stores for the individual components of this report group.

Ben

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!

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.

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
  • 6 replies
  • 779 views
  • 0 likes
  • 3 in conversation