<?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: template difference between 9.1.3 and 9.2 in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64134#M7495</link>
    <description>YES! When I used 'style fonts from fonts /....', it elimintaed the warnings.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much!&lt;BR /&gt;
&lt;BR /&gt;
fd</description>
    <pubDate>Wed, 19 Jan 2011 19:37:55 GMT</pubDate>
    <dc:creator>fd2010</dc:creator>
    <dc:date>2011-01-19T19:37:55Z</dc:date>
    <item>
      <title>template difference between 9.1.3 and 9.2</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64130#M7491</link>
      <description>I have the following template that works fine in 9.1.3, but produced warnings in 9.2.&lt;BR /&gt;
What changes do I need to apply for the template to work in 9.2?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
fd&lt;BR /&gt;
****************************************************************&lt;BR /&gt;
SAS 9.2 WARNING:&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.fonts("BatchFixedFont")'.&lt;BR /&gt;
&amp;#12;                                                        The SAS System&lt;BR /&gt;
&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.fonts("FixedStrongFont")'.&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.fonts("StrongFont")'.&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.fonts("FixedEmphasisFont")'.&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.fonts("EmphasisFont")'.&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.fonts("FixedFont")'.&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.Fonts("TitleFont2")'.&lt;BR /&gt;
WARNING: Could not locate style reference 'ABI_Landscape_10pt.fonts("TitleFont")'.&lt;BR /&gt;
********************************************&lt;BR /&gt;
templates:&lt;BR /&gt;
proc template;                                                                &lt;BR /&gt;
   define style Styles.ABI_Landscape_10pt / store = TEMPLIB.MODTEMP;                                              &lt;BR /&gt;
                notes "Landscape Times Roman 10 pt";                                    &lt;BR /&gt;
   parent=styles.rtf;&lt;BR /&gt;
   style systemtitle "controls the system titles"/ &lt;BR /&gt;
	  font_weight=bold&lt;BR /&gt;
	  font_face="TimesRoman"&lt;BR /&gt;
      font_size=12pt&lt;BR /&gt;
      just=left;&lt;BR /&gt;
&lt;BR /&gt;
    style systemfooter "controls the system footer"/ &lt;BR /&gt;
	  font_weight=medium&lt;BR /&gt;
	  font_face="TimesRoman"&lt;BR /&gt;
      font_size=8pt&lt;BR /&gt;
      just=left&lt;BR /&gt;
      ;&lt;BR /&gt;
&lt;BR /&gt;
    style table "controls the table"/ &lt;BR /&gt;
	  cellpadding=3&lt;BR /&gt;
	  rules=groups&lt;BR /&gt;
	  frame=hsides;&lt;BR /&gt;
&lt;BR /&gt;
    style header "controls the header"/ &lt;BR /&gt;
	  font_weight=bold&lt;BR /&gt;
	  font_face="TimesRoman"&lt;BR /&gt;
      font_size=10pt&lt;BR /&gt;
      background=_undef_;&lt;BR /&gt;
&lt;BR /&gt;
    style footer "controls the footer"/ &lt;BR /&gt;
	  font_weight=medium&lt;BR /&gt;
	  font_face="TimesRoman"&lt;BR /&gt;
      font_size=9pt&lt;BR /&gt;
      background=_undef_;&lt;BR /&gt;
&lt;BR /&gt;
    style usertext from usertext;&lt;BR /&gt;
	style fonts /&lt;BR /&gt;
		'docFont' = ("Times Roman",10pt)&lt;BR /&gt;
		'headingFont' = ("Times Roman",10pt, bold);&lt;BR /&gt;
    &lt;BR /&gt;
    style Body from Document "Controls the Body file." /&lt;BR /&gt;
		bottommargin = 1.0in&lt;BR /&gt;
		topmargin = 1.0in&lt;BR /&gt;
		rightmargin = 1.0in&lt;BR /&gt;
		leftmargin = 1.0in;&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
********************************************</description>
      <pubDate>Wed, 19 Jan 2011 15:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64130#M7491</guid>
      <dc:creator>fd2010</dc:creator>
      <dc:date>2011-01-19T15:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: template difference between 9.1.3 and 9.2</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64131#M7492</link>
      <description>Hi:&lt;BR /&gt;
  Usually, you used to get the "could not locate style reference" when your procedure/program of choice asked for a style element that could not be found. What procedure(s) did you use with the new style template??? You show the template code, but not the procedure/program that used the template.&lt;BR /&gt;
 &lt;BR /&gt;
  The style inheritance model did change between SAS 9.1.3 and SAS 9.2, so it's possible that your prior version of the template was working in SAS 9.1.3 but stopped working (or started throwing WARNING messages) because of that difference.&lt;BR /&gt;
&lt;BR /&gt;
  I no longer have SAS 9.1.3 to compare the two behaviors, so I would suggest that you work with Tech Support on this question, as they can test your template -- with your procedures or your code -- in SAS 9.1.3 and in SAS 9.2.&lt;BR /&gt;
 &lt;BR /&gt;
  When I -did- have SAS 9.1.3, however, and I used a parent template, I ALWAYS used the STYLE statement with the correct FROM or I used a REPLACE statement without a FROM -- so without actually running your code in SAS 9.1.3, I'm not exactly sure how inheritance would have resolved for this template in SAS 9.1.3.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 19 Jan 2011 17:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64131#M7492</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-01-19T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: template difference between 9.1.3 and 9.2</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64132#M7493</link>
      <description>Thank you Cynthia! I am using proc report with this template. I will follow up with Tech Support.&lt;BR /&gt;
&lt;BR /&gt;
fd</description>
      <pubDate>Wed, 19 Jan 2011 17:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64132#M7493</guid>
      <dc:creator>fd2010</dc:creator>
      <dc:date>2011-01-19T17:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: template difference between 9.1.3 and 9.2</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64133#M7494</link>
      <description>This is due to the inheritance model change that Cynthia mentioned.  If you change your fonts element to be 'style fonts from fonts / ... ;' that should fix your problem.</description>
      <pubDate>Wed, 19 Jan 2011 19:24:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64133#M7494</guid>
      <dc:creator>Kevin_SAS</dc:creator>
      <dc:date>2011-01-19T19:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: template difference between 9.1.3 and 9.2</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64134#M7495</link>
      <description>YES! When I used 'style fonts from fonts /....', it elimintaed the warnings.&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much!&lt;BR /&gt;
&lt;BR /&gt;
fd</description>
      <pubDate>Wed, 19 Jan 2011 19:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/template-difference-between-9-1-3-and-9-2/m-p/64134#M7495</guid>
      <dc:creator>fd2010</dc:creator>
      <dc:date>2011-01-19T19:37:55Z</dc:date>
    </item>
  </channel>
</rss>

