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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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