<?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 Searching the permanent storage location for formats in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Searching-the-permanent-storage-location-for-formats/m-p/159186#M299423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given the following OPTIONS statement:&lt;/P&gt;&lt;P&gt; libname A 'SAS library reference';&lt;/P&gt;&lt;P&gt; libname F 'SAS library reference';&lt;/P&gt;&lt;P&gt; options fmtsearch = (A F.X);&lt;/P&gt;&lt;P&gt; What is the second location searched for formats?&lt;/P&gt;&lt;P&gt; A.F.X&lt;/P&gt;&lt;P&gt; B.A.FORMATS&lt;/P&gt;&lt;P&gt; C.WORK.FORMATS&lt;/P&gt;&lt;P&gt; D.SAS supplied formats&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer is C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I feel it should be Library.formats which doesn't appear as answers at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you guys feel about?Can anyone explain it to me? Thank you so much!Usingocati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 15:45:17 GMT</pubDate>
    <dc:creator>chouchou</dc:creator>
    <dc:date>2014-08-13T15:45:17Z</dc:date>
    <item>
      <title>Searching the permanent storage location for formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Searching-the-permanent-storage-location-for-formats/m-p/159186#M299423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Given the following OPTIONS statement:&lt;/P&gt;&lt;P&gt; libname A 'SAS library reference';&lt;/P&gt;&lt;P&gt; libname F 'SAS library reference';&lt;/P&gt;&lt;P&gt; options fmtsearch = (A F.X);&lt;/P&gt;&lt;P&gt; What is the second location searched for formats?&lt;/P&gt;&lt;P&gt; A.F.X&lt;/P&gt;&lt;P&gt; B.A.FORMATS&lt;/P&gt;&lt;P&gt; C.WORK.FORMATS&lt;/P&gt;&lt;P&gt; D.SAS supplied formats&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer is C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I feel it should be Library.formats which doesn't appear as answers at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you guys feel about?Can anyone explain it to me? Thank you so much!Usingocati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 15:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Searching-the-permanent-storage-location-for-formats/m-p/159186#M299423</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-13T15:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Searching the permanent storage location for formats</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Searching-the-permanent-storage-location-for-formats/m-p/159187#M299424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the documentation, you are correct.&amp;nbsp; I might let SAS off on a technicality, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that when you create a format, you are not permitted to use a name that SAS has already defined in its list of existing formats.&amp;nbsp; For example, this program would fail because monyy is not permitted as a name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;&amp;nbsp; value monyy&amp;nbsp; 1='Hey';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when SAS searches for a format, it first looks to see if the format is on the list of SAS-Institute-supplied formats.&amp;nbsp; Then it follows the FMTSEARCH rules which in this case would begin with WORK.FORMATS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At best, the question is not clear in what it asks for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 17:51:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Searching-the-permanent-storage-location-for-formats/m-p/159187#M299424</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-08-13T17:51:04Z</dc:date>
    </item>
  </channel>
</rss>

