Hello,
I wonder if there is a macro variable that holds the name of a currently executing node in SAS Studio.
Thanks,
Mario
Use
%put _all_;
to show all currently defined macro variables.
Kurt,
Thanks for the quick response. I have tried adding
%put _all_;
inside the program node but unfortunately the resulting macro variable list does not seem to include the actual name of the node (which is part of a process flow). I am not sure if there are papers about this. What I'm really after is for my program to determine the node name that it is executing in. Is that possible?
Thanks,
Mario
I had hoped that Studio does something similar to what Enterprise Guide does. EG creates a macro variable _CLIENTTASKLABEL that identfies the currently executing node in the project.
This might be a good Software Ballot Idea.
Thanks for the feedback. We are planning to generate very similar wrapper code (including the macro variables) in SAS Studio and EG in future releases.
Casey
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: