<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proc Template with MACRO in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350384#M12157</link>
    <description>&lt;P&gt;It sounds like you're using PROC TEMPLATE incorrectly, but you haven't provided us enough information to tell you where or how to fix it. Really all you've stated is that somethings not working...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC TEMPLATE supports dynamic variables and should be a 'template' that can be reused so I suspect you're using it incorrectly or not using all the features available.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 16 Apr 2017 19:46:47 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-04-16T19:46:47Z</dc:date>
    <item>
      <title>Proc Template with MACRO</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350366#M12153</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible to use proc template in macro?&lt;/P&gt;&lt;P&gt;I use a proc templat in SAS to combine 6 figures in to one page, that's good. But I have lots of variables, which means I have to run this proc template many times, but I don't want to change every variable name after I run out proc template once. &amp;nbsp;Someone can give me an &amp;nbsp;example to run proc template but use macro? I google, but didn't find a good example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 16:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350366#M12153</guid>
      <dc:creator>echoli</dc:creator>
      <dc:date>2017-04-16T16:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Template with MACRO</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350370#M12154</link>
      <description>&lt;P&gt;I would think that the point of using PROC TEMPLATE would be to eliminate the need for MACRO coding.&lt;/P&gt;
&lt;P&gt;What type of template are you creating?&lt;/P&gt;
&lt;P&gt;What is it that is varying?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 16:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350370#M12154</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-16T16:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Template with MACRO</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350371#M12155</link>
      <description>Hi:&lt;BR /&gt;  The SAS Macro facility only generates code. So I do not understand your question about using proc template "in macro". Do you mean you want to generate multiple different templates by using a SAS macro program to generate the differing templates. Or, if you are using the Graph Template Language, do you mean you want to use the dynamic MVAR statement to define variables (macro variables) to make the template more flexible? &lt;BR /&gt;&lt;BR /&gt;  Please review pages 20/21 of this paper &lt;A href="https://support.sas.com/resources/papers/proceedings09/227-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings09/227-2009.pdf&lt;/A&gt; and note how the MVAR statement defines the macro variable &amp;amp;WANTY which alters the variable used for the bar chart's Y axis.&lt;BR /&gt;&lt;BR /&gt;The answer to your question really depends on what it is EXACTLY that you need to do and what you mean by having PROC TEMPLATE "in macro".&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sun, 16 Apr 2017 17:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350371#M12155</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-04-16T17:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Template with MACRO</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350374#M12156</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's not clear on whether you need to use the NMVAR, MVAR or DYNAMIC statements within GTL, or if you need to use GTL with a SAS MACRO. Can you please show your code, and/or let us know how you are outputting each of these variables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kriss&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 18:21:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350374#M12156</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2017-04-16T18:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Template with MACRO</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350384#M12157</link>
      <description>&lt;P&gt;It sounds like you're using PROC TEMPLATE incorrectly, but you haven't provided us enough information to tell you where or how to fix it. Really all you've stated is that somethings not working...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC TEMPLATE supports dynamic variables and should be a 'template' that can be reused so I suspect you're using it incorrectly or not using all the features available.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 19:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Template-with-MACRO/m-p/350384#M12157</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-16T19:46:47Z</dc:date>
    </item>
  </channel>
</rss>

