BookmarkSubscribeRSS Feed
GeorgeSAS
Lapis Lazuli | Level 10

Hello everyone,

 

When several different SAS programs(run at same time) need to share a same SAS dataset(stored in UNIX) as there input source. Is there any order who will use the dataset first? or they can use it by given CPU time randomly??? that dataset is a large data. each programs will use it for not just a minute.

 

Thanks!

2 REPLIES 2
TomKari
Onyx | Level 15

Multiple SAS sessions can read a SAS dataset concurrently, with no issues. SAS datasets can't be shared for output; only one user (data step or proc) can be using it at a time. I can't test it here, but I believe any second and subsequent people who try to write to that SAS datasaet while it's being written by user 1 will get an "in use" message.

 

Tom

kiranv_
Rhodochrosite | Level 12

As far as I know sas dataset can be read concurently. Please checkout  interesting link below

 

http://support.sas.com/resources/papers/proceedings15/3380-2015.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
  • 2 replies
  • 1172 views
  • 2 likes
  • 3 in conversation