Architecting, installing and maintaining your SAS environment

Using PROC IOMOPERATE to list and stop active SAS sessions

Reply
Community Manager
Posts: 2,951

Using PROC IOMOPERATE to list and stop active SAS sessions

Did you know that you could use a SAS program to list (and even stop) the active SAS sessions in your environment?  You can -- by using PROC IOMOPERATE.

 

This utility procedure allows you to connect to the SAS Object Spawner (with proper credentials) to review the spawned SAS sessions and their attributes.  I've described the technique in this blog post:

 

Here's a small example of listing the SAS sessions:

 

%let connection=
  'iom://myserver.company.com:8581;bridge;user=sasadm@saspw,pass=Secret01';
 
/* Get a list of processes */
proc iomoperate uri=&connection.;
    list spawned out=spawned;
quit;

 

sessions.png

 

See more details in the blog post.

Ask a Question
Discussion stats
  • 0 replies
  • 384 views
  • 1 like
  • 1 in conversation