<?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: restore reference object and find parent template in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309385#M66534</link>
    <description>&lt;P&gt;Ballard,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; In lines 138-144, I create styles.printer in work.templat, so it is available.&amp;nbsp; Correct me if I am wrong, but &amp;amp;SYSODSPATH. has the same paths and settings as ODS SHOW, no?&amp;nbsp; This is the contigous log, so I run nothing to change the paths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2016 19:40:31 GMT</pubDate>
    <dc:creator>KevinViel</dc:creator>
    <dc:date>2016-11-04T19:40:31Z</dc:date>
    <item>
      <title>TEMPLATE: restore reference object and find parent template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309366#M66527</link>
      <description>&lt;P&gt;Can anyone explain the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;132 proc template ;&lt;/P&gt;
&lt;P&gt;133 path work.templat ;&lt;/P&gt;
&lt;P&gt;134 source styles.novumstyle ;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;WARNING: Could not restore referenced object: Styles.Printer.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0000"&gt;WARNING: Could not find parent template: Styles.Printer.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;define style Styles.Novumstyle;&lt;/P&gt;
&lt;P&gt;parent = Styles.Printer;&lt;/P&gt;
&lt;P&gt;class fonts /&lt;/P&gt;
&lt;P&gt;'docFont' = ("Times New Roman",9pt)&lt;/P&gt;
&lt;P&gt;'headingFont' = ("Times New Roman",9pt,bold)&lt;/P&gt;
&lt;P&gt;'headingEmphasisFont' = ("Times New Roman",9pt,bold italic)&lt;/P&gt;
&lt;P&gt;'FixedFont' = ("Courier New",9pt)&lt;/P&gt;
&lt;P&gt;'BatchFixedFont' = ("Courier New",9pt)&lt;/P&gt;
&lt;P&gt;'FixedHeadingFont' = ("Courier New",9pt,bold)&lt;/P&gt;
&lt;P&gt;'FixedStrongFont' = ("Courier New",9pt,bold)&lt;/P&gt;
&lt;P&gt;'FixedEmphasisFont' = ("Courier New",9pt)&lt;/P&gt;
&lt;P&gt;'EmphasisFont' = ("Times New Roman",9pt,italic)&lt;/P&gt;
&lt;P&gt;'StrongFont' = ("Times New Roman",10pt,bold)&lt;/P&gt;
&lt;P&gt;'TitleFont2' = ("Times New Roman",10pt)&lt;/P&gt;
&lt;P&gt;'TitleEmphasisFont' = ("Times New Roman",10pt,bold)&lt;/P&gt;
&lt;P&gt;'TitleFont' = ("Times New Roman",10pt);&lt;/P&gt;
&lt;P&gt;class table /&lt;/P&gt;
&lt;P&gt;backgroundcolor = color_list('BGT')&lt;/P&gt;
&lt;P&gt;borderwidth = 1.0pt&lt;/P&gt;
&lt;P&gt;borderspacing = 0.5pt&lt;/P&gt;
&lt;P&gt;cellpadding = 2.0pt&lt;/P&gt;
&lt;P&gt;rules = groups&lt;/P&gt;
&lt;P&gt;frame = hsides;&lt;/P&gt;
&lt;P&gt;class color_list /&lt;/P&gt;
&lt;P&gt;'BG' = white&lt;/P&gt;
&lt;P&gt;'FG' = black&lt;/P&gt;
&lt;P&gt;'BGD' = white&lt;/P&gt;
&lt;P&gt;'BGT' = white&lt;/P&gt;
&lt;P&gt;'BGH' = white&lt;/P&gt;
&lt;P&gt;'LINK' = blue;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;NOTE: Path 'Styles.Novumstyle' is in: WORK.TEMPLAT.&lt;/P&gt;
&lt;P&gt;135 run ;&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE TEMPLATE used (Total process time):&lt;/P&gt;
&lt;P&gt;real time 0.00 seconds&lt;/P&gt;
&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;136&lt;/P&gt;
&lt;P&gt;137&lt;/P&gt;
&lt;P&gt;138 proc template ;&lt;/P&gt;
&lt;P&gt;139 define style&lt;/P&gt;
&lt;P&gt;140 Styles.Printer / store = work.templat&lt;/P&gt;
&lt;P&gt;141 ;&lt;/P&gt;
&lt;P&gt;142 parent = Styles.Printer ;&lt;/P&gt;
&lt;P&gt;143 end ;&lt;/P&gt;
&lt;P&gt;NOTE: STYLE 'Styles.Printer' has been saved to: WORK.TEMPLAT&lt;/P&gt;
&lt;P&gt;144 run ;&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE TEMPLATE used (Total process time):&lt;/P&gt;
&lt;P&gt;real time 0.00 seconds&lt;/P&gt;
&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;145&lt;/P&gt;
&lt;P&gt;146 proc template ;&lt;/P&gt;
&lt;P&gt;147 path work.templat ;&lt;/P&gt;
&lt;P&gt;148 source styles.novumstyle ;&lt;/P&gt;
&lt;P&gt;define style Styles.Novumstyle;&lt;/P&gt;
&lt;P&gt;parent = Styles.Printer;&lt;/P&gt;
&lt;P&gt;class fonts /&lt;/P&gt;
&lt;P&gt;'docFont' = ("Times New Roman",9pt)&lt;/P&gt;
&lt;P&gt;'headingFont' = ("Times New Roman",9pt,bold)&lt;/P&gt;
&lt;P&gt;'headingEmphasisFont' = ("Times New Roman",9pt,bold italic)&lt;/P&gt;
&lt;P&gt;'FixedFont' = ("Courier New",9pt)&lt;/P&gt;
&lt;P&gt;'BatchFixedFont' = ("Courier New",9pt)&lt;/P&gt;
&lt;P&gt;'FixedHeadingFont' = ("Courier New",9pt,bold)&lt;/P&gt;
&lt;P&gt;'FixedStrongFont' = ("Courier New",9pt,bold)&lt;/P&gt;
&lt;P&gt;'FixedEmphasisFont' = ("Courier New",9pt)&lt;/P&gt;
&lt;P&gt;'EmphasisFont' = ("Times New Roman",9pt,italic)&lt;/P&gt;
&lt;P&gt;'StrongFont' = ("Times New Roman",10pt,bold)&lt;/P&gt;
&lt;P&gt;'TitleFont2' = ("Times New Roman",10pt)&lt;/P&gt;
&lt;P&gt;'TitleEmphasisFont' = ("Times New Roman",10pt,bold)&lt;/P&gt;
&lt;P&gt;'TitleFont' = ("Times New Roman",10pt);&lt;/P&gt;
&lt;P&gt;class table /&lt;/P&gt;
&lt;P&gt;backgroundcolor = color_list('BGT')&lt;/P&gt;
&lt;P&gt;borderwidth = 1.0pt&lt;/P&gt;
&lt;P&gt;borderspacing = 0.5pt&lt;/P&gt;
&lt;P&gt;cellpadding = 2.0pt&lt;/P&gt;
&lt;P&gt;rules = groups&lt;/P&gt;
&lt;P&gt;frame = hsides;&lt;/P&gt;
&lt;P&gt;class color_list /&lt;/P&gt;
&lt;P&gt;'BG' = white&lt;/P&gt;
&lt;P&gt;'FG' = black&lt;/P&gt;
&lt;P&gt;'BGD' = white&lt;/P&gt;
&lt;P&gt;'BGT' = white&lt;/P&gt;
&lt;P&gt;'BGH' = white&lt;/P&gt;
&lt;P&gt;'LINK' = blue;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;NOTE: Path 'Styles.Novumstyle' is in: WORK.TEMPLAT.&lt;/P&gt;
&lt;P&gt;149 run ;&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE TEMPLATE used (Total process time):&lt;/P&gt;
&lt;P&gt;real time 0.00 seconds&lt;/P&gt;
&lt;P&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;150 %put &amp;amp;SYSODSPATH. ;&lt;/P&gt;
&lt;P&gt;WORK.TEMPLAT(READ) SASUSER.TEMPLAT(UPDATE) SASHELP.TMPLMST(READ)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT size="3"&gt;Why should I have to "bring" styles.printer into work.templat?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT size="3"&gt;Thank you,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT size="3"&gt;Kevin&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 17:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309366#M66527</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2016-11-04T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: TEMPLATE: restore reference object and find parent template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309367#M66528</link>
      <description>&lt;P&gt;You may want to use the SHOW option with your path settings. Perhaps you temporarily removed SASHELP.TMPLMST from the Path value that SAS is attempting to use so that it couldn't find the base styles.printer&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 17:46:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309367#M66528</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-11-04T17:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: TEMPLATE: restore reference object and find parent template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309368#M66529</link>
      <description>&lt;P&gt;Run the following code and check weather you got printer style or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;template&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;list&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; styles; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 17:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309368#M66529</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2016-11-04T17:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: TEMPLATE: restore reference object and find parent template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309385#M66534</link>
      <description>&lt;P&gt;Ballard,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; In lines 138-144, I create styles.printer in work.templat, so it is available.&amp;nbsp; Correct me if I am wrong, but &amp;amp;SYSODSPATH. has the same paths and settings as ODS SHOW, no?&amp;nbsp; This is the contigous log, so I run nothing to change the paths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 19:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309385#M66534</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2016-11-04T19:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: TEMPLATE: restore reference object and find parent template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309386#M66535</link>
      <description>&lt;P&gt;Surya,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; My response to Ballard addresses your kind post:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In lines 138-144, I create styles.printer in work.templat, so it is available.&amp;nbsp; Correct me if I am wrong, but &amp;amp;SYSODSPATH. has the same paths and settings as ODS SHOW, no?&amp;nbsp; This is the contigous log, so I run nothing to change the paths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 19:42:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309386#M66535</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2016-11-04T19:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: TEMPLATE: restore reference object and find parent template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309411#M66536</link>
      <description>&lt;P&gt;You mentioned&amp;nbsp;&amp;nbsp;" path work.templat " in your code at the starting. This overrides the ods path&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI : &lt;A href="https://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a001023171.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a001023171.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 20:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309411#M66536</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2016-11-04T20:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: TEMPLATE: restore reference object and find parent template</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309782#M66749</link>
      <description>&lt;P&gt;Indeed, removing the PATH statement when attempting to obtain the SOURCE did not limit the search to the itemstors.&amp;nbsp; Assuming that the ODS PATH is correct, then STYLES.PRINTER was found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 17:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TEMPLATE-restore-reference-object-and-find-parent-template/m-p/309782#M66749</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2016-11-07T17:34:25Z</dc:date>
    </item>
  </channel>
</rss>

