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
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.