<?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: Permanent styles created by user not available in dictionary.styles in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449176#M113021</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file is created. I know it as I can see it in my folder and&amp;nbsp; it appears here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; list styles /store=demo.blabla;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is why does it not appear in the dictionaries although it exists.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Mar 2018 22:08:07 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2018-03-27T22:08:07Z</dc:date>
    <item>
      <title>Permanent styles created by user not available in dictionary.styles</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449170#M113016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you know, a warning appear when you attempt to delete a style which does not exist. There is no NOWARN option in proc template. Correct me if I'm wrong here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I was considering the dictionaries to find out if a style was existing before deleting it but could not find the styles created by the user in a permanent library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname demo '/folders/myfolders/';&lt;BR /&gt;&lt;BR /&gt;proc template;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Define Style styles.demo_pdf / store=demo.blabla;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parent = styles.pearl;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *...;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; select *&lt;BR /&gt;&amp;nbsp;&amp;nbsp; from dictionary.styles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; where upcase(libname)='DEMO';&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what is going on here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 21:48:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449170#M113016</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2018-03-27T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent styles created by user not available in dictionary.styles</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449174#M113019</link>
      <description>&lt;P&gt;Look up the ODS PATH statement for setting where to read or write with Proc template and search order.&lt;/P&gt;
&lt;P&gt;Or the Proc template PATH statement. And LIst.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="SAS Monospace" size="2"&gt;proc template;
   path sashelp.tmplmst;
   list / where=(lowcase(type) = 'style' );
run;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;will show the SAS supplied styles.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;The Libname.memname combo in dictionary.styles is the PATH for storing the definition.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;Most likely if a path was not assigned in proc template the style was written to SASUSER.TEMPLAT.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 22:02:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449174#M113019</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-27T22:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent styles created by user not available in dictionary.styles</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449176#M113021</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file is created. I know it as I can see it in my folder and&amp;nbsp; it appears here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc template ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; list styles /store=demo.blabla;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is why does it not appear in the dictionaries although it exists.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 22:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449176#M113021</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2018-03-27T22:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent styles created by user not available in dictionary.styles</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449187#M113025</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/184742"&gt;@xxformat_com&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file is created. I know it as I can see it in my folder and&amp;nbsp; it appears here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc template ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; list styles /store=demo.blabla;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The question is why does it not appear in the dictionaries although it exists.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Because you have not executed a PATH statement that tells SAS to look for styles in that location.&lt;/P&gt;
&lt;P&gt;Try this code to see what paths SAS is currently using to look for styles:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;path&lt;/FONT&gt; &lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;show&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;These are the ACTIVE template stores. The List with store as you use will show the contents of the store even when the store is not in active use.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;Then try&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;ods path (append) demo.blabla(update);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;ods path show; /* to see that it is now active)*/&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;and should be usable.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 22:44:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449187#M113025</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-27T22:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent styles created by user not available in dictionary.styles</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449220#M113035</link>
      <description>&lt;P&gt;Thanks. I got it now.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 05:31:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-styles-created-by-user-not-available-in-dictionary/m-p/449220#M113035</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2018-03-28T05:31:50Z</dc:date>
    </item>
  </channel>
</rss>

