<?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: Can I create permanent libname in SAS Studio? in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443505#M4906</link>
    <description>&lt;P&gt;Right...you had double quotes in each location, it goes in one or the other.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But like I mentioned before, you really don't need the macro variable step at all. And macros are just confusing in the beginning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do want to work with macros, first make sure you have working code and then start adding the macro components.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Mar 2018 20:54:35 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-03-07T20:54:35Z</dc:date>
    <item>
      <title>Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443428#M4898</link>
      <description>&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my code is as below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; %let dirdata='/folders/myfolders';
libname perm '&amp;amp;dirdata';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And the LOG shows:&lt;/P&gt;&lt;PRE&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         %let dirdata='/folders/myfolders';
 74         libname perm '&amp;amp;dirdata';
 NOTE: Library PERM does not exist.
 75         run;
 76         
 77         
 78         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 91         &lt;/PRE&gt;&lt;P&gt;I wonder if there is any method to create a permanent libname in SAS Studio?&lt;/P&gt;&lt;P&gt;Is there anyone kindly tell me what did I do wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 17:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443428#M4898</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-03-07T17:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443433#M4899</link>
      <description>&lt;P&gt;Macro variables only resolve in double quotes, not single quotes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/188695"&gt;@jc3992&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my code is as below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; %let dirdata='/folders/myfolders';
libname perm '&amp;amp;dirdata';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And the LOG shows:&lt;/P&gt;
&lt;PRE&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         %let dirdata='/folders/myfolders';
 74         libname perm '&amp;amp;dirdata';
 NOTE: Library PERM does not exist.
 75         run;
 76         
 77         
 78         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 91         &lt;/PRE&gt;
&lt;P&gt;I wonder if there is any method to create a permanent libname in SAS Studio?&lt;/P&gt;
&lt;P&gt;Is there anyone kindly tell me what did I do wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 17:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443433#M4899</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-07T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443441#M4900</link>
      <description>&lt;PRE&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         %let dirdata= "/folders/myfolders";
 74         libname perm "dirdata";
 NOTE: Library PERM does not exist.
 75         run;
 76         
 77         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 90         &lt;/PRE&gt;&lt;P&gt;still did not work though&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 18:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443441#M4900</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-03-07T18:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443458#M4901</link>
      <description>&lt;PRE&gt; 73         %let dirdata= "/folders/myfolders/";
 74         libname perm "dirdata";&lt;/PRE&gt;
&lt;P&gt;Does that work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you update SAS UE? I thought we'd worked through this a few weeks ago.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 18:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443458#M4901</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-07T18:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443474#M4902</link>
      <description>&lt;P&gt;No that did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last weekend I was using SAS 9.4 on the computer lab&lt;/P&gt;&lt;P&gt;now the same problem happened with SAS Studio&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 19:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443474#M4902</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-03-07T19:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443477#M4903</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/188695"&gt;@jc3992&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;PRE&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         %let dirdata= "/folders/myfolders";
 74         libname perm "dirdata";
 NOTE: Library PERM does not exist.
 75         run;
 76         
 77         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 90         &lt;/PRE&gt;
&lt;P&gt;still did not work though&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No miracle. You deleted the necessary ampersand. Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let dirdata=/folders/myfolders;
libname perm "&amp;amp;dirdata";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Mar 2018 19:44:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443477#M4903</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-03-07T19:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443480#M4904</link>
      <description>&lt;P&gt;I succeeded by the code as below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let dirdata=/folders/myfolders;
libname perm "&amp;amp;dirdata";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         
 74         %let dirdata=/folders/myfolders;
 75         libname perm "&amp;amp;dirdata";
 NOTE: Libref PERM was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /folders/myfolders
 76         run;
 77         
 78         
 79         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 92         &lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Mar 2018 19:57:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443480#M4904</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-03-07T19:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I create permanent libname in SAS Studio?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443505#M4906</link>
      <description>&lt;P&gt;Right...you had double quotes in each location, it goes in one or the other.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But like I mentioned before, you really don't need the macro variable step at all. And macros are just confusing in the beginning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do want to work with macros, first make sure you have working code and then start adding the macro components.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 20:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Can-I-create-permanent-libname-in-SAS-Studio/m-p/443505#M4906</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-07T20:54:35Z</dc:date>
    </item>
  </channel>
</rss>

