<?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 sas option fmtsearch in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-option-fmtsearch/m-p/330997#M74339</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please, When I use&amp;nbsp;the instructions : &amp;nbsp;put(v2, $frt2.) et&lt;/P&gt;
&lt;P&gt;option fmtsearch = &lt;SPAN class="br0"&gt;(lib1&lt;/SPAN&gt;&amp;nbsp; lib2&lt;SPAN class="br0"&gt;)&lt;/SPAN&gt; ; It do not get any error message, but sas 9.4 does apply the instruction put(v2, $frt2.)&lt;/P&gt;
&lt;P&gt;I still usually with the value v2. why ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 255);"&gt;libname&lt;/SPAN&gt;&amp;nbsp; lib1 &amp;nbsp;&lt;SPAN style="color: rgb(255, 0, 0);"&gt;"\rep1\format1"&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 255);"&gt;libname&lt;/SPAN&gt;&amp;nbsp; lib2&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: rgb(255, 0, 0);"&gt;"\rep2\format2"&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;option fmtsearch = &lt;SPAN class="br0"&gt;(lib1&lt;/SPAN&gt;&amp;nbsp; lib2&lt;SPAN class="br0"&gt;)&lt;/SPAN&gt; ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sql;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;create table&amp;nbsp; test as&lt;/P&gt;
&lt;P&gt;select v1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put(v2, $frt2.)&lt;/P&gt;
&lt;P&gt;from toto;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 21:40:10 GMT</pubDate>
    <dc:creator>LineMoon</dc:creator>
    <dc:date>2017-02-08T21:40:10Z</dc:date>
    <item>
      <title>sas option fmtsearch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-option-fmtsearch/m-p/330997#M74339</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please, When I use&amp;nbsp;the instructions : &amp;nbsp;put(v2, $frt2.) et&lt;/P&gt;
&lt;P&gt;option fmtsearch = &lt;SPAN class="br0"&gt;(lib1&lt;/SPAN&gt;&amp;nbsp; lib2&lt;SPAN class="br0"&gt;)&lt;/SPAN&gt; ; It do not get any error message, but sas 9.4 does apply the instruction put(v2, $frt2.)&lt;/P&gt;
&lt;P&gt;I still usually with the value v2. why ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 255);"&gt;libname&lt;/SPAN&gt;&amp;nbsp; lib1 &amp;nbsp;&lt;SPAN style="color: rgb(255, 0, 0);"&gt;"\rep1\format1"&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 255);"&gt;libname&lt;/SPAN&gt;&amp;nbsp; lib2&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: rgb(255, 0, 0);"&gt;"\rep2\format2"&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;option fmtsearch = &lt;SPAN class="br0"&gt;(lib1&lt;/SPAN&gt;&amp;nbsp; lib2&lt;SPAN class="br0"&gt;)&lt;/SPAN&gt; ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sql;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;create table&amp;nbsp; test as&lt;/P&gt;
&lt;P&gt;select v1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put(v2, $frt2.)&lt;/P&gt;
&lt;P&gt;from toto;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 21:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-option-fmtsearch/m-p/330997#M74339</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2017-02-08T21:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: sas option fmtsearch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-option-fmtsearch/m-p/331008#M74340</link>
      <description>&lt;P&gt;Look at the documentation but I think you need to specify the catalog name if it is not formats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options fmtsearch=(lib1.myfmts lib2.morefmts);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 22:17:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-option-fmtsearch/m-p/331008#M74340</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2017-02-08T22:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: sas option fmtsearch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-option-fmtsearch/m-p/331018#M74342</link>
      <description>&lt;P&gt;Can't test it right now, but might you need to specify where to put the result such as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;put(v2, $frt2.) as v2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also worth checking:&amp;nbsp; are you expecting the FRT format to exist in LIB2 but it actually also exists (with a different definition) in LIB1?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 22:45:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-option-fmtsearch/m-p/331018#M74342</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-02-08T22:45:38Z</dc:date>
    </item>
  </channel>
</rss>

