DATA Step, Macro, Functions and more

Create multiple sessions of SAS on unix server

Reply
Contributor
Posts: 71

Create multiple sessions of SAS on unix server

[ Edited ]

Hi,

Is there a way to create multiple SAS sessions of single user on Unix server? The requirement is to sign on to the unix server and create multiple sessions of SAS .On every session a dataset will be processed.

 

 

Trusted Advisor
Posts: 1,571

Re: Create multiple sessions of SAS on unix server

It is possible to execute SAS several times. Have you tried ?

Frequent Contributor
Posts: 83

Re: Create multiple sessions of SAS on unix server

This shouldn't be a problem, I run multiple jobs all the time.  You should be able to kick off the jobs straight to the background by adding a & sign to the end of the command starting the job, or several other ways using standard UNIX procedures.  I frequently use a terminal multiplexer (GNU Screen, tmux, etc.) to run several jobs if I want to monitor them.  SAS is basically just another UNIX program, generally you can start as many as you want or as many as your system can handle.

Super User
Posts: 3,256

Re: Create multiple sessions of SAS on unix server

If your SAS sessions are just running SAS code without any user interaction then consider running these as SAS batch jobs. You can set these up via SAS Management Console if you prefer using a GUI tool.

Super User
Posts: 7,809

Re: Create multiple sessions of SAS on unix server

This depends very much on how you run your codes.

Enterprise Guide provides a mechanism to run several nodes within a project in parallel. The necessary server processes are automatically started.

You can also start several EG's on your desktop and start a workspace server in each.

Batch jobs (from the commandline) can easily be run in parallel, the method depends on the operating system.

And it is possible to run several independent SAS Studio sessions on the same server from the same browser instance.

 

Being the administrator of our SAS server, I have installed several mechanisms to limit the number of SAS sessions per user, so that a single user can't occupy more than the fair share of the server. But that was added after SAS setup.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 4 replies
  • 128 views
  • 0 likes
  • 5 in conversation