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.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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