<?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 — how to un-do edits? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TEMPLATE-how-to-un-do-edits/m-p/851981#M26142</link>
    <description>&lt;P&gt;If you followed the example then you probably used &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsug/p03q7l9284sg38n1d9186k3i7u3c.htm" target="_self"&gt;ODS PATH to add a "search" path&lt;/A&gt; for your custom templates. You can use ODS PATH with a REMOVE option to stop SAS from looking there, and bypass your custom template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best practice is to keep your custom templates in a location you control, and don't override the ones that ship with SAS (in the SASHELP location).&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 14:47:39 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2023-01-03T14:47:39Z</dc:date>
    <item>
      <title>PROC TEMPLATE — how to un-do edits?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TEMPLATE-how-to-un-do-edits/m-p/851968#M26140</link>
      <description>&lt;P&gt;I am a beginner at PROC TEMPLATE. I follow the PROC TEMPLATE example here:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/odsproc/n1sbdyv873pfcmn1e3a8p2z4k055.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/odsproc/n1sbdyv873pfcmn1e3a8p2z4k055.htm&lt;/A&gt;&amp;nbsp;and now my PROC FREQ shows the frequency counts in format comma12. Works as expected. But then, I want to do another PROC FREQ later in the same program with the default format for frequency counts, how do I return to the default format? Is it simply running PROC TEMPLATE again with the BEST7. format for frequency counts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the some way to save the template with comma12. format and call it as needed?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 14:25:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TEMPLATE-how-to-un-do-edits/m-p/851968#M26140</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-01-03T14:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TEMPLATE — how to un-do edits?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TEMPLATE-how-to-un-do-edits/m-p/851980#M26141</link>
      <description>Hi:&lt;BR /&gt;  Basically, you need to create your changed template for PROC FREQ in a separate template store location. And then when you want to use the default template for PROC FREQ, you'll control the search path for the template stores by using an ODS PATH statement. &lt;BR /&gt;  Take a look at this paper &lt;A href="https://www.lexjansen.com/wuss/2009/tut/TUT-Zender.pdf" target="_blank"&gt;https://www.lexjansen.com/wuss/2009/tut/TUT-Zender.pdf&lt;/A&gt; -- I used the EDIT statement to create an edited template in WORK.SUMTEMP and because that was the first template store in the search path, anytime I use PROC MEANS, my changed template will be used. However, if I issue a new ODS PATH statement WITHOUT WORK.SUMTEMP in the path list, then the original template for PROC MEANS will be found.&lt;BR /&gt;  When you are changing table templates associated with procedures, you cannot change the name of the table template that will be called by the procedure. All you can do is change the search path to find that template. That is what the ODS PATH statement allows you to do.&lt;BR /&gt;  In practice, however, I rarely use a table template change for cosmetic things like formats or labels. Typically, I use ODS OUTPUT or the OUTPUT statement to create a data set and then I just use PROC PRINT or PROC REPORT to generate the final report with the formats/labels that I want.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 03 Jan 2023 14:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TEMPLATE-how-to-un-do-edits/m-p/851980#M26141</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-01-03T14:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: PROC TEMPLATE — how to un-do edits?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TEMPLATE-how-to-un-do-edits/m-p/851981#M26142</link>
      <description>&lt;P&gt;If you followed the example then you probably used &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsug/p03q7l9284sg38n1d9186k3i7u3c.htm" target="_self"&gt;ODS PATH to add a "search" path&lt;/A&gt; for your custom templates. You can use ODS PATH with a REMOVE option to stop SAS from looking there, and bypass your custom template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best practice is to keep your custom templates in a location you control, and don't override the ones that ship with SAS (in the SASHELP location).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 14:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-TEMPLATE-how-to-un-do-edits/m-p/851981#M26142</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-01-03T14:47:39Z</dc:date>
    </item>
  </channel>
</rss>

