I have a situation where I needed to set up SGPLOT with 9.2 (TS2M3) using GTL. These code blocks (GTL) are processed prior to plot execution. The issue I'm having is that doing the plot this way causes unicode symbols in the variable labels (as macro variables) to be rendered literally when they appear in the legend. I've tried to use legend labels as macro variables but this did not work either as they do not resolve. Any suggestions?
Yes it is but it renders it as a literal when I have to preprocess the template code and there are macro variables that create the legend labels.
In our system we create item stores when the program initially runs then another program we call sections creates the final outputs using item stores. Basically the guts of the table and its titles and footnotes are separate objects.
Ok so in the code the variables are subgrpx1, 2, and 3 (macro variables). If I declare them as MVAR and use DYNAMIC in the same code block the following warning is issued:
WARNING: Symbol has already been declared as another type: subgrpx1.
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.
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.