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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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