I have this issue that I need to create EMF file format figures, since they work better for PDF (RTF converted to PDF). The issue is that I want my logs clean, and since the SASEG destination does not support the EMF you will end up with "WARNING: SASREPORT13 destination does not support EMF images. Using the default static format." in your log. Ok so it was hard enough to even try to figure out how to control this destination... But I figured that I need the following statements: ODS tagsets.sasreport13(ID=EGSR) select NONE; ods listing close; SOME MAGICAL GRAPH GENERATING CODE... ODS tagsets.sasreport13(ID=EGSR) select all; ods listing; And it will work without the warning. IF I run the program only once... But if I wrap it as a macro and call it multiple times in the same program then I get the following error after the first macro call has finished and second is generating output: ERROR: The TAGSETS.SASREPORT13(EGSR) destination is not active; no select/exclude lists are available. (and this will be replicated N-1 times where N is the number of macro calls, so meaning that the first goes as intended but the subsequent ones don't) So clearly the ODS tagsets.sasreport13(ID=EGSR) select all statement has no impact on anything... I have also tried to check sashelp.vdest data how it behaves in each step, but it seems that it lives its own life, and doesn't really care about any of the statements except the ods listing off. (I have there only HTMLblue and Listing as values). So it seems to be impossible to even get any documentation on what the heck TAGSETS.SAREPORT13(EGSR) even is let alone how it works... Extremely frustrating.
... View more