<?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: error; library Apple does not exist. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640191#M190614</link>
    <description>yes i have the folder.Thanks!</description>
    <pubDate>Wed, 15 Apr 2020 18:50:58 GMT</pubDate>
    <dc:creator>ekim46</dc:creator>
    <dc:date>2020-04-15T18:50:58Z</dc:date>
    <item>
      <title>error; library Apple does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640177#M190605</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I wrote the below code but got an error like 'library Apple does not exist'. It seems that the macro variable was not recognized.... could you please help me to fix the error?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%MACRO&lt;/STRONG&gt; CREATE(months);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME APPLE&amp;amp;months "C:\FRUITS\APPLE&amp;amp;&amp;amp;months";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA season&amp;amp;months;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET APPLE&amp;amp;months..good;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%MEND&lt;/STRONG&gt; CREATE;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;EM&gt;CREATE&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:30:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640177#M190605</guid>
      <dc:creator>ekim46</dc:creator>
      <dc:date>2020-04-15T18:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: error; library Apple does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640183#M190608</link>
      <description>&lt;P&gt;You only need&amp;nbsp;&lt;U&gt;one&lt;/U&gt; ampersand when addressing macro variables.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:38:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640183#M190608</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-15T18:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: error; library Apple does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640185#M190610</link>
      <description>&lt;P&gt;thanks! it does not still work..can you help me what I should try?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%MACRO&lt;/STRONG&gt; CREATE(months);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME APPLE&amp;amp;months "C:\FRUITS\APPLE&amp;amp;months";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA season&amp;amp;months;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET APPLE&amp;amp;months..good;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%MEND&lt;/STRONG&gt; CREATE;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;EM&gt;CREATE&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:43:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640185#M190610</guid>
      <dc:creator>ekim46</dc:creator>
      <dc:date>2020-04-15T18:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: error; library Apple does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640186#M190611</link>
      <description>&lt;P&gt;The way you have written that macro the value passed for MONTHS can have at the most only three characters. Otherwise the libref being defined will be longer than 8 characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But since you did not pass any value for MONTHS that is not the cause of the error.&lt;/P&gt;
&lt;P&gt;The extra &amp;amp; is probably not the issue. That will just cause SAS to convert &amp;amp;&amp;amp;MONTHS to &amp;amp;MONTHS so it just adds a little extra work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like the directory you are trying to reference does not exist.&amp;nbsp; Do you really have a directory named:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"C:\FRUITS\APPLE"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;on the machine where your SAS code is running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Turn on the MPRINT option to see what SAS code the macro is generating.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:45:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640186#M190611</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-15T18:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: error; library Apple does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640189#M190612</link>
      <description>&lt;P&gt;Normally you wouldn't add anything to the libref.&amp;nbsp; The libref is already a place holder that pointer to the real directory.&amp;nbsp; So if you have a series of directories named :&amp;nbsp; APPLEJAN, APPLEFEB, APPLEMAR you could always use the libref APPLE to point to the specific one you want to use now rather than making multiple different librefs.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640189#M190612</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-15T18:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: error; library Apple does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640191#M190614</link>
      <description>yes i have the folder.Thanks!</description>
      <pubDate>Wed, 15 Apr 2020 18:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640191#M190614</guid>
      <dc:creator>ekim46</dc:creator>
      <dc:date>2020-04-15T18:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: error; library Apple does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640192#M190615</link>
      <description>&lt;P&gt;oh...i see...&amp;nbsp; i sincerely appreciate your help!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:51:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-library-Apple-does-not-exist/m-p/640192#M190615</guid>
      <dc:creator>ekim46</dc:creator>
      <dc:date>2020-04-15T18:51:52Z</dc:date>
    </item>
  </channel>
</rss>

