BookmarkSubscribeRSS Feed
Wendy
Calcite | Level 5

Hello there,

Before my script can populate the &_EGuserID automatically. But after upgrading the EG to the latest version, the SAS log reports that:

"Apparently symbolic reference _EGUSERID not resolved."

Then I did some research, it seems there is another variable which has the similar function, _MetaUser.

Here just want to confirm with the EG experts whether above fact is true, or just because I did something incorrect.

Thank you!

-Wendy

3 REPLIES 3
twocanbazza
Quartz | Level 8

I know there is

_CLIENTUSERID and _CLIENTUSERNAME

We are using SAS EG 4.3 and SAS9.2 and I can't seem to so _EGUSERID, so may have been a 4.2 one.

Barry

Rickyboy81
Calcite | Level 5

You also need to get rid of the single speech marks if you want it exactly the same:

%let userID = %sysfunc(compress(&_CLIENTUSERNAME,"'"));

%put userID = &userID;

ChrisHemedinger
Community Manager

See this for more information:

http://blogs.sas.com/content/sasdummy/2010/03/15/multiple-identities-for-all-of-the-people-you-are/

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1239 views
  • 0 likes
  • 4 in conversation