I created a template style to make all generated graphics uniform.
It is writen in my code like this :
ODS PATH(PREPEND) work.templat(update);
define style wivisp_SASstyle;
parent = Styles.Normal;
style GraphColors /
'gborderlines' = white
'goutlines' = black
then in EG I added the template in Tools > Style manager > add
In sas enterprise guide, I can see it works : graphs are in the right colors
But when I create a stored process from my egp (right clic > "Create stored process" > next next finish), all colors are changed.
How do I apply my custom template to the results of my stored process ?
Is writing a proc template a good waprocessy to do procede ?
I use Enterprise guide 4.3 and SAS 9.2
The style has to be specified on the _ODSSTYLE macro variable to affect all of your output. the macro variable is used by the %stpbegin() macro when initializing the ODS destination. Therefore, try this:
Let me know if this works for you.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.