<?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: User does not have appropriate authorization level for library &amp;quot;name&amp;quot; ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885524#M349923</link>
    <description>&lt;PRE&gt;&lt;CODE class=""&gt;MLOGIC(CKINPUT):  Beginning execution.
MLOGIC(CKINPUT):  %DO %UNTIL("&amp;amp;msg"="") loop beginning.
MLOGIC(CKINPUT):  %DISPLAY statement beginning.
MLOGIC(ISBLANK):  Beginning execution.
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MLOGIC(ISBLANK):  Parameter PARAM has value &amp;#4;Y:\Folder1\Folder2\Folder3\Folder4\death&amp;#30;&amp;#8;
MLOGIC(ISBLANK):  Ending execution.
MLOGIC(ISBLANK):  Beginning execution.
SYMBOLGEN:  Macro variable OUT_PATH resolves to R:\File1\File2\File3\File4\output
MLOGIC(ISBLANK):  Parameter PARAM has value &amp;#4;R:\File1\File2\File3\File4\output&amp;#8;
MLOGIC(ISBLANK):  Ending execution.
MLOGIC(CKINPUT):  %IF condition NOT ( %isBlank(%bquote(&amp;amp;doc_path)) | %isBlank(%bquote(&amp;amp;out_path))) is TRUE
MLOGIC(DIREXIST):  Beginning execution.
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MLOGIC(DIREXIST):  Parameter DIR has value Y:\Folder1\Folder2\Folder3\Folder4\death
ERROR: More positional parameters found than defined.
MLOGIC(DIREXIST):  Ending execution.
MLOGIC(CKINPUT):  %IF condition %DirExist(&amp;amp;doc_path)=0 is FALSE
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MPRINT(CKINPUT):   libname d "Y:\Folder1\Folder2\Folder3\Folder4\death,";
&lt;FONT color="#FF0000"&gt;ERROR: User does not have appropriate authorization level for library D.
ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 19 Jul 2023 22:05:26 GMT</pubDate>
    <dc:creator>rebelde52</dc:creator>
    <dc:date>2023-07-19T22:05:26Z</dc:date>
    <item>
      <title>Error: User does not have appropriate authorization level for library "name" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885518#M349919</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I seem to get my macro program to work but I get this error of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Error: User does not have appropriate authorization level for library "name" ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Followed by the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Error: Error in the libname statement.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I look at my filepath it uses the the libname statement; it incudes the sas dataset and when I look at the security properties on the dateset (B:\Folder1\Folder2\dataset, it shows that I'm allowed to do everything to it except "Special Permission".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I look at where the the folder that the dataset is in for example B:\Folder1\Folder2&amp;nbsp; it shows I dont have all the "allow" checks except on "special permission".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could that cause an issue or be the source of my problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 19:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885518#M349919</guid>
      <dc:creator>rebelde52</dc:creator>
      <dc:date>2023-07-19T19:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error: User does not have appropriate authorization level for library "name" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885523#M349922</link>
      <description>&lt;P&gt;Please post the complete SAS log containing both the SAS statements and errors so we can see exactly what is happening.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 21:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885523#M349922</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-07-19T21:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: User does not have appropriate authorization level for library "name" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885524#M349923</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;MLOGIC(CKINPUT):  Beginning execution.
MLOGIC(CKINPUT):  %DO %UNTIL("&amp;amp;msg"="") loop beginning.
MLOGIC(CKINPUT):  %DISPLAY statement beginning.
MLOGIC(ISBLANK):  Beginning execution.
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MLOGIC(ISBLANK):  Parameter PARAM has value &amp;#4;Y:\Folder1\Folder2\Folder3\Folder4\death&amp;#30;&amp;#8;
MLOGIC(ISBLANK):  Ending execution.
MLOGIC(ISBLANK):  Beginning execution.
SYMBOLGEN:  Macro variable OUT_PATH resolves to R:\File1\File2\File3\File4\output
MLOGIC(ISBLANK):  Parameter PARAM has value &amp;#4;R:\File1\File2\File3\File4\output&amp;#8;
MLOGIC(ISBLANK):  Ending execution.
MLOGIC(CKINPUT):  %IF condition NOT ( %isBlank(%bquote(&amp;amp;doc_path)) | %isBlank(%bquote(&amp;amp;out_path))) is TRUE
MLOGIC(DIREXIST):  Beginning execution.
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MLOGIC(DIREXIST):  Parameter DIR has value Y:\Folder1\Folder2\Folder3\Folder4\death
ERROR: More positional parameters found than defined.
MLOGIC(DIREXIST):  Ending execution.
MLOGIC(CKINPUT):  %IF condition %DirExist(&amp;amp;doc_path)=0 is FALSE
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MPRINT(CKINPUT):   libname d "Y:\Folder1\Folder2\Folder3\Folder4\death,";
&lt;FONT color="#FF0000"&gt;ERROR: User does not have appropriate authorization level for library D.
ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Jul 2023 22:05:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885524#M349923</guid>
      <dc:creator>rebelde52</dc:creator>
      <dc:date>2023-07-19T22:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error: User does not have appropriate authorization level for library "name" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885528#M349925</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/441125"&gt;@rebelde52&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;MLOGIC(CKINPUT):  Beginning execution.
MLOGIC(CKINPUT):  %DO %UNTIL("&amp;amp;msg"="") loop beginning.
MLOGIC(CKINPUT):  %DISPLAY statement beginning.
MLOGIC(ISBLANK):  Beginning execution.
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MLOGIC(ISBLANK):  Parameter PARAM has value &amp;#4;Y:\Folder1\Folder2\Folder3\Folder4\death&amp;#30;&amp;#8;
MLOGIC(ISBLANK):  Ending execution.
MLOGIC(ISBLANK):  Beginning execution.
SYMBOLGEN:  Macro variable OUT_PATH resolves to R:\File1\File2\File3\File4\output
MLOGIC(ISBLANK):  Parameter PARAM has value &amp;#4;R:\File1\File2\File3\File4\output&amp;#8;
MLOGIC(ISBLANK):  Ending execution.
MLOGIC(CKINPUT):  %IF condition NOT ( %isBlank(%bquote(&amp;amp;doc_path)) | %isBlank(%bquote(&amp;amp;out_path))) is TRUE
MLOGIC(DIREXIST):  Beginning execution.
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MLOGIC(DIREXIST):  Parameter DIR has value Y:\Folder1\Folder2\Folder3\Folder4\death
&lt;STRONG&gt;ERROR: More positional parameters found than defined.&lt;/STRONG&gt;
MLOGIC(DIREXIST):  Ending execution.
MLOGIC(CKINPUT):  %IF condition %DirExist(&amp;amp;doc_path)=0 is FALSE
SYMBOLGEN:  Macro variable DOC_PATH resolves to Y:\Folder1\Folder2\Folder3\Folder4\death,
MPRINT(CKINPUT):   libname d "Y:\Folder1\Folder2\Folder3\Folder4\death&lt;FONT size="6" color="#FF0000"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/FONT&gt;";
&lt;FONT color="#FF0000"&gt;ERROR: User does not have appropriate authorization level for library D.
ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do you see the highlighted text in the Libname statement? There should not be any comma in the actual path. That comma is also the likely cause of the "more positional parameters" error. As mentioned in previous threads, commas likely do not belong in macro variables used as parameters for other macros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since there is very likely no actual folder "death ," that is also why you don't have permissions.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 00:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885528#M349925</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-07-20T00:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error: User does not have appropriate authorization level for library "name" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885619#M349972</link>
      <description>&lt;P&gt;Thank you for the reply!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a feeling it was the comma. But have to enter that file path in a SAS Window User Interface and it looks like that it only works when I enter a comma in the file path. If I don't have a comma then it does not work. Do you know a work around for that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 14:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885619#M349972</guid>
      <dc:creator>rebelde52</dc:creator>
      <dc:date>2023-07-20T14:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error: User does not have appropriate authorization level for library "name" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885638#M349978</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/441125"&gt;@rebelde52&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for the reply!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had a feeling it was the comma. But have to enter that file path in a SAS Window User Interface and it looks like that it only works when I enter a comma in the file path. If I don't have a comma then it does not work. Do you know a work around for that?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then fix whatever is the mistake that that is not letting you enter the actual path.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 14:51:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885638#M349978</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-07-20T14:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error: User does not have appropriate authorization level for library "name" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885649#M349985</link>
      <description>&lt;P&gt;If there actually is a&amp;nbsp;&lt;STRONG&gt;comma&lt;/STRONG&gt; in a&amp;nbsp;&lt;STRONG&gt;directory name&lt;/STRONG&gt;, get rid of it the day before yesterday. Blanks are bad enough, but a comma would simply be insane.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 16:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-User-does-not-have-appropriate-authorization-level-for/m-p/885649#M349985</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-07-20T16:10:30Z</dc:date>
    </item>
  </channel>
</rss>

