<?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  warnings :could not not restore referenced object style rtf in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-template-warnings-could-not-not-restore-referenced-object/m-p/214151#M52778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks RW9 !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It resolved the issue, no warnings..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saskap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 15:06:14 GMT</pubDate>
    <dc:creator>saskapa</dc:creator>
    <dc:date>2015-07-30T15:06:14Z</dc:date>
    <item>
      <title>proc template  warnings :could not not restore referenced object style rtf</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-template-warnings-could-not-not-restore-referenced-object/m-p/214149#M52776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was creating a template for my rtf table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Define a location for my template ;&lt;/P&gt;&lt;P&gt;*-----------------------------------------------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname&amp;nbsp; templ 'mydrive\template';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Define a new style;&lt;/P&gt;&lt;P&gt;*-----------------------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;define style temp1/store=templ.temp1;&lt;/P&gt;&lt;P&gt; parent=style.rtf;&lt;/P&gt;&lt;P&gt; style fonts /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 'docFont'=("&amp;lt;MTserif&amp;gt;,courrier new", 8 pt);&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Create output;&lt;/P&gt;&lt;P&gt;*-------------------------;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods path (prepend) templ (read);&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods rtf file='mydrive\all.rtf' style=temp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class nowd ;&lt;/P&gt;&lt;P&gt;column name sex age;&lt;/P&gt;&lt;P&gt;define name/display;&lt;/P&gt;&lt;P&gt;define sex/display;&lt;/P&gt;&lt;P&gt;define age/display;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Despite that the code seems to execute correctly and indeed the font change,&amp;nbsp; has been implemented , I yet&amp;nbsp; have two warnings in the logs :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;WARNING: Could not restore referenced object: style.rtf.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;WARNING: Could not find parent template: style.rtf.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Any clue why I do get those warning ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;saskap&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:09:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-template-warnings-could-not-not-restore-referenced-object/m-p/214149#M52776</guid>
      <dc:creator>saskapa</dc:creator>
      <dc:date>2015-07-30T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc template  warnings :could not not restore referenced object style rtf</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-template-warnings-could-not-not-restore-referenced-object/m-p/214150#M52777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could be because of the typo on:&lt;/P&gt;&lt;P&gt;parent = Styles.RTF;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;note the final s.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:38:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-template-warnings-could-not-not-restore-referenced-object/m-p/214150#M52777</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-07-30T14:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc template  warnings :could not not restore referenced object style rtf</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-template-warnings-could-not-not-restore-referenced-object/m-p/214151#M52778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks RW9 !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It resolved the issue, no warnings..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saskap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 15:06:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-template-warnings-could-not-not-restore-referenced-object/m-p/214151#M52778</guid>
      <dc:creator>saskapa</dc:creator>
      <dc:date>2015-07-30T15:06:14Z</dc:date>
    </item>
  </channel>
</rss>

