BookmarkSubscribeRSS Feed
BhavikShah
SAS Employee

Hi,

We are trying to implement a solution where we would like to restrict the user accessing the sas tables during a certain time period(due to lock out issue) when our processes are running and loading those tables.

What would be the best way to implement this?

Thanks

3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12

Tough problem.  One way might be to have the process that loads the tables change the permissions on the files or directories to only allow that process access and then change it back at the end.

If the user has the file(s) open before the time window starts, I don't know of anything to do except to use the OS to kill the SAS and EG processes.

Doc Muhlbaier

Duke

SASKiwi
PROC Star

One option that would be worth considering is to have one workspace server for production jobs and another for EG users. In SAS Management Console you can stop the Workspace Server for EG users while your production Workspace Server continues running.

Stopping the server will stop EG users either connecting to or running any jobs on your SAS server so it is very much a sledgehammer solution.... You can also stop a workspace server via a program if you want to do it automatically.

BhavikShah
SAS Employee

Thanks @Doc and @SASKiwi.

We do plan to kill all the SAS and EG processes before starting the batch jobs.

Will look at both the options provided and implement the feasible option.

Thanks again!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1183 views
  • 8 likes
  • 3 in conversation