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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.