BookmarkSubscribeRSS Feed
Ivy
Quartz | Level 8 Ivy
Quartz | Level 8

 

I cannot get the value of the following EG automacro, I am wondering the reason.

Thank you very much.

 

%put &_CLIENTPROJECTNAME;

 

However, I can get %put &_CLIENTUSERID . 

3 REPLIES 3
Ivy
Quartz | Level 8 Ivy
Quartz | Level 8
Thank you very much, ART. I ran that part of code in EG program, which has already being saved to a server location. However, I could not get the program name and location through the automacro. I just switched to EG yesterday, still struggling ... Thank you.
CaseySmith
SAS Employee

_CLIENTPROJECTNAME will contain the name of the EG project file, so it will not be populated until you save the EG project (.egp file) somewhere and then re-run the code.

 

Or perhaps you are running into this...

 

Prior to EG 7.13 HF2, _SASPROGRAMFILE macro was only set when the program was stored on the server on which the program file was being executed (so the path would be valid in the context of the executing server).  Starting in EG 7.13 HF2, EG now sets the _SASPROGRAMFILE macro regardless of where the program file is located.  (_SASPROGRAMFILEHOST and _CLIENTPROJECTPATHHOST macros were also added to provide context for the paths in the corresponding macro variables.)

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 926 views
  • 0 likes
  • 3 in conversation