BookmarkSubscribeRSS Feed
BjornSimonsen
Calcite | Level 5

In Oracle I can use "Select user from dual;" which is showing the one who is logged in and running the programme.

 

Is the a function/code I can use in SAS that do the same.

 

Kind regards

Bjorn

3 REPLIES 3
BjornSimonsen
Calcite | Level 5

Thanks Kurt,

 

Just what I was looking for.

 

Kind regards

Bjorn

smantha
Lapis Lazuli | Level 10
If you are looking for a way to find a list of users running sas programs on a server there are different options . On linux or unix you can do ps -fu on a filename pipe and get a list of users. On windows you can do a tasklist instead of ps -fu. If you are looking for the user who is running the current program you can follow Kurt’s suggestion.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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