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!

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

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