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

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
  • 2 replies
  • 688 views
  • 2 likes
  • 3 in conversation