DATA Step, Macro, Functions and more

SAS data set running queue

Reply
Super Contributor
Posts: 267

SAS data set running queue

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!

PROC Star
Posts: 1,265

Re: SAS data set running queue

Posted in reply to GeorgeSAS

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

PROC Star
Posts: 500

Re: SAS data set running queue

Posted in reply to GeorgeSAS

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

Ask a Question
Discussion stats
  • 2 replies
  • 134 views
  • 2 likes
  • 3 in conversation