<?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: SAS libname assign error when url has special characters. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804013#M40447</link>
    <description>&lt;P&gt;If it's URL, maybe try&amp;nbsp;&lt;SPAN&gt;%26&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;LIBNAME sample "\\myserver\folder1\folder2\01_%26folder3\";&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 09:29:31 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2022-03-25T09:29:31Z</dc:date>
    <item>
      <title>SAS libname assign error when url has special characters.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804008#M40446</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling assigning a SAS libname because the url has special character '&amp;amp;' . The code truncates and attend to assign '\\myserver\folder1\folder2\01_' url which does not exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;LIBNAME sample "\\myserver\folder1\folder2\01_&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;folder3\";&lt;/PRE&gt;&lt;P&gt;How to handle url with special characters in this case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:07:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804008#M40446</guid>
      <dc:creator>MM88</dc:creator>
      <dc:date>2022-03-25T09:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS libname assign error when url has special characters.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804013#M40447</link>
      <description>&lt;P&gt;If it's URL, maybe try&amp;nbsp;&lt;SPAN&gt;%26&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;LIBNAME sample "\\myserver\folder1\folder2\01_%26folder3\";&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804013#M40447</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-03-25T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS libname assign error when url has special characters.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804016#M40448</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35763"&gt;@yabwon&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I tried the ascii code of '&amp;amp;' as you suggest, but libname is not making a correct interpretation of '%26'. It treat this text as part of the url.&lt;BR /&gt;&lt;BR /&gt;It continue giving me the same error.&lt;BR /&gt;&lt;BR /&gt;LIBNAME sample "\\myserver\folder1\folder2\01_%26folder3\";&lt;BR /&gt;'Library sample does not exist.'&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:38:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804016#M40448</guid>
      <dc:creator>MM88</dc:creator>
      <dc:date>2022-03-25T09:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS libname assign error when url has special characters.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804017#M40449</link>
      <description>&lt;P&gt;OK, try:&lt;/P&gt;
&lt;PRE&gt;LIBNAME sample %nrstr("\\myserver\folder1\folder2\01_&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;folder3\");&lt;/PRE&gt;
&lt;P&gt;Bart.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804017#M40449</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-03-25T09:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS libname assign error when url has special characters.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804021#M40450</link>
      <description>&lt;P&gt;The &amp;amp; character has special meaning for operating systems (e.g. send a command to the background in UNIX), therefore it has &lt;STRONG&gt;NO PLACE AT ALL&lt;/STRONG&gt; in file or directory names. Correct that three days before yesterday.&lt;/P&gt;
&lt;P&gt;Otherwise, simply use single quotes to prevent SAS from attempting to resolve a macro variable.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:59:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804021#M40450</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-25T09:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS libname assign error when url has special characters.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804033#M40451</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;It also work with single quotes, thanks.&lt;BR /&gt;&lt;BR /&gt;We use Windows and '&amp;amp;' character is allowed as part of directory name. We cannot change user directory name.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Fri, 25 Mar 2022 11:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-libname-assign-error-when-url-has-special-characters/m-p/804033#M40451</guid>
      <dc:creator>MM88</dc:creator>
      <dc:date>2022-03-25T11:34:02Z</dc:date>
    </item>
  </channel>
</rss>

