<?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: Safe to use EDIT for style template management in SAS 9.2? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Safe-to-use-EDIT-for-style-template-management-in-SAS-9-2/m-p/12768#M3162</link>
    <description>Hi, Mike:&lt;BR /&gt;
  I have only seen the EDIT statement used with TABLE templates...so I can't speak to the issue of whether 1) it ever worked with STYLE templates or 2) if it worked, whether it will continue to work with 9.2....&lt;BR /&gt;
 &lt;BR /&gt;
  This might be a better question for the ODS folks in Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Thu, 29 Apr 2010 20:28:57 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-04-29T20:28:57Z</dc:date>
    <item>
      <title>Safe to use EDIT for style template management in SAS 9.2?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Safe-to-use-EDIT-for-style-template-management-in-SAS-9-2/m-p/12767#M3161</link>
      <description>I would like to create a new template store that would contain 2 style templates:&lt;BR /&gt;
  (1) Printer92, which would be identical to Printer from sashelp.tmplmst,&lt;BR /&gt;
  (2) Printer, which would be identical to the original Printer except for the fonts.&lt;BR /&gt;
&lt;BR /&gt;
The idea is that users could prepend the new template store in their ODS PATH statement, so they could get different fonts in their PDF output without having to specify style= on each ODS PDF statement, and without overwriting the SAS-supplied Printer style.&lt;BR /&gt;
&lt;BR /&gt;
After looking into a number of ways to do this, the best (mentioned in a Tech Support note) seemed to be to use the EDIT statement in PROC TEMPLATE (full code below). This seems to work fine, and to be platform and version-independent. My only worry is that I don't see the EDIT statement in the 9.2 documentation for style templates. (I do see it for table templates.)&lt;BR /&gt;
&lt;BR /&gt;
So, I'm wondering whether this use of EDIT has been deprecated with the 9.2 style syntax changes, and if there are some hidden dangers with it. (Or maybe I just missed it in the documentation?)  &lt;BR /&gt;
&lt;BR /&gt;
proc datasets  library=work  nolist  nowarn;&lt;BR /&gt;
delete pdf913 / memtype=itemstor;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
  path work.pdf913 (UPDATE) sashelp.tmplmst (READ);&lt;BR /&gt;
  edit styles.printer as styles.printer92;&lt;BR /&gt;
  end;&lt;BR /&gt;
  edit styles.printer;&lt;BR /&gt;
	  style fonts /                                                           &lt;BR /&gt;
	 'TitleFont2' = ("Times",12pt,bold italic)&lt;BR /&gt;
	 'TitleFont' = ("Times",13pt,bold italic)&lt;BR /&gt;
	 'StrongFont' = ("Times",10pt,bold)&lt;BR /&gt;
	 'EmphasisFont' = ("Times",10pt,italic)&lt;BR /&gt;
	 'FixedEmphasisFont' = ("Courier",9pt,italic)&lt;BR /&gt;
	 'FixedStrongFont' = ("Courier",9pt,bold)&lt;BR /&gt;
	 'FixedHeadingFont' = ("Courier",9pt,bold)&lt;BR /&gt;
	 'BatchFixedFont' = ("Courier",6.7pt)&lt;BR /&gt;
	 'FixedFont' = ("Courier",9pt)&lt;BR /&gt;
	 'headingEmphasisFont' = ("Times",11pt,bold italic)&lt;BR /&gt;
	 'headingFont' = ("Times",11pt,bold)&lt;BR /&gt;
	 'docFont' = ("Times",10pt); &lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods path (prepend) work.PDF913 (READ);</description>
      <pubDate>Thu, 29 Apr 2010 19:43:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Safe-to-use-EDIT-for-style-template-management-in-SAS-9-2/m-p/12767#M3161</guid>
      <dc:creator>MikeRhoads</dc:creator>
      <dc:date>2010-04-29T19:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Safe to use EDIT for style template management in SAS 9.2?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Safe-to-use-EDIT-for-style-template-management-in-SAS-9-2/m-p/12768#M3162</link>
      <description>Hi, Mike:&lt;BR /&gt;
  I have only seen the EDIT statement used with TABLE templates...so I can't speak to the issue of whether 1) it ever worked with STYLE templates or 2) if it worked, whether it will continue to work with 9.2....&lt;BR /&gt;
 &lt;BR /&gt;
  This might be a better question for the ODS folks in Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 29 Apr 2010 20:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Safe-to-use-EDIT-for-style-template-management-in-SAS-9-2/m-p/12768#M3162</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-29T20:28:57Z</dc:date>
    </item>
  </channel>
</rss>

