I want to add numbers to the labels of SAS programs and tasks in a process flow. Can I do that with SAS code?
You cannot use SAS code (or any scripting/automation) to rename items in the process flow -- at least not in any supported manner.
Now, just between us...
Others on this community will point out that an EGP file is a ZIP archive under-the-covers (I'm pre-empting them here!), and you could use various methods to "hack" your change by unzipping/rezipping the file. However, I will tell you that SAS cannot recommend/support that approach since it's risky to use non-SAS tools to modify SAS files; this can result in a corrupted project file.
Always ensure you have a good backup version. Creating backups of project files is an excellent practice anyway.
Chris
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.