SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
Alex_Shev
Calcite | Level 5

In SAS Management Console you can find the table with PIDs of running processes on server (Server Manager -> SASApp (for example) -> Logical Workspace Server). By clicking on some process we'll find out the name of the owner (who started the process), host and entry time.

If I have the PID, can I get the name automatically (SAS code/program)?

2 REPLIES 2
joao_moreira
Fluorite | Level 6

Hi Alex,

 

I think that what your migth be looking for is the iomoperate procedure.

This procedure let you connect to the object spawner and get the pid, owner and other infos on every sas session.

Please check the documentation here - SAS 9.3.

 

 

 

Alex_Shev
Calcite | Level 5
Thanks for the reference. Due to his program I can find the process owner. But all processes have the same owner - srv_d_sas. It's logical but I need to get the user name that looks like, for example, user1@domain

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 4703 views
  • 2 likes
  • 2 in conversation