<?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: User does not have appropriate authorization level for file sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742220#M232112</link>
    <description>&lt;P&gt;How is library TEST defined?&lt;/P&gt;
&lt;P&gt;Is it a Base SAS library, or something else? Is it assigned through a simple LIBNAME statement (by you or in the autoexec file), or is it defined in metadata and pre-assigned?&lt;/P&gt;
&lt;P&gt;If Base SAS, where does it reside? Local to the SAS server, or on a network share?&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 15:58:27 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-05-18T15:58:27Z</dc:date>
    <item>
      <title>User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742213#M232105</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error when the program is going to create a dataset on a Linux server and has not yet deleted it. This program is made in SAS Data Integration, so I have many programs that drop a table and then create it to replace it.&lt;/P&gt;&lt;P&gt;I have observed that this error appears in certain programs that create a table with small size. Sometimes this error appears, and sometimes it does not. I think SAS drops the table and tries to create it when it hasn't dropped it yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any parameter to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MPRINT(EXECUTION):  ;
MPRINT(EXECUTION):   option DBIDIRECTEXEC;
MPRINT(EXECUTION):   proc datasets lib = TEST nolist nowarn memtype = (data view);
MPRINT(EXECUTION):   delete TEMP_DAT_CONCEP;
MPRINT(EXECUTION):   quit;

NOTE: Deleting TEST.TEMP_DAT_CONCEP (memtype=DATA).
&amp;#12;23                                                         The SAS System                                02:07 Tuesday, May 18, 2021

NOTE: PROCEDURE DATASETS ha utilizzato (tempo totale di elaborazione):
      real time           0.10 seconds
      cpu time            0.00 seconds
      

MPRINT(EXECUTION):   proc sql;
MPRINT(EXECUTION):   create table TEST.TEMP_DAT_CONCEP as select .................... from work.example ;
&lt;STRONG&gt;ERROR: User does not have appropriate authorization level for file TEST.TEMP_DAT_CONCEP.DATA.&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 15:36:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742213#M232105</guid>
      <dc:creator>TesterSK</dc:creator>
      <dc:date>2021-05-18T15:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742215#M232107</link>
      <description>&lt;P&gt;Fist thing i would want you to check is, what are your permissions on the linux directory that you are trying to write to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 15:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742215#M232107</guid>
      <dc:creator>CarmineVerrell</dc:creator>
      <dc:date>2021-05-18T15:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742217#M232109</link>
      <description>664 are the permissions for all my datasets. I think this is not the problem.</description>
      <pubDate>Tue, 18 May 2021 15:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742217#M232109</guid>
      <dc:creator>TesterSK</dc:creator>
      <dc:date>2021-05-18T15:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742218#M232110</link>
      <description>Also, just want to note that you should also check with you SAS admin and see if you have appropriate access on linux location. Its possible that you are dealing with a metadata bound library created by your SAS admin. A Metadata bound library can set permissions on sas data that is not registered in metadata .</description>
      <pubDate>Tue, 18 May 2021 15:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742218#M232110</guid>
      <dc:creator>CarmineVerrell</dc:creator>
      <dc:date>2021-05-18T15:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742220#M232112</link>
      <description>&lt;P&gt;How is library TEST defined?&lt;/P&gt;
&lt;P&gt;Is it a Base SAS library, or something else? Is it assigned through a simple LIBNAME statement (by you or in the autoexec file), or is it defined in metadata and pre-assigned?&lt;/P&gt;
&lt;P&gt;If Base SAS, where does it reside? Local to the SAS server, or on a network share?&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 15:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742220#M232112</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-18T15:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742222#M232114</link>
      <description>I use a libname statement like the log says:&lt;BR /&gt;&lt;BR /&gt;MPRINT(EXECUTION): LIBNAME TEST BASE "/XXXX/xxxxx/xxxx/XX";&lt;BR /&gt;NOTE: Libref TEST was successfully assigned as follows:&lt;BR /&gt;Engine: BASE&lt;BR /&gt;Physical Name: /XXXX/xxxxx/xxxx/XX&lt;BR /&gt;NOTE: The macro RCSET is executing from memory.&lt;BR /&gt;21 instructions 456 bytes.&lt;BR /&gt;&lt;BR /&gt;The libname resides in a directory server</description>
      <pubDate>Tue, 18 May 2021 16:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742222#M232114</guid>
      <dc:creator>TesterSK</dc:creator>
      <dc:date>2021-05-18T16:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742225#M232117</link>
      <description>&lt;P&gt;If, by "directory server", you mean a network share, then you may have a timing issue; add a short delay between the remove and the write, e,g,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let rc=%sysfunc(sleep(5,1));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 May 2021 16:16:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742225#M232117</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-18T16:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: User does not have appropriate authorization level for file sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742226#M232118</link>
      <description>&lt;P&gt;Also, in case of a failure, do immediately check if the delete in the DATASETS procedure worked (use Windows Explorer or similar to see if the .sas7bdat file still exists).&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 16:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/User-does-not-have-appropriate-authorization-level-for-file-sas/m-p/742226#M232118</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-18T16:18:26Z</dc:date>
    </item>
  </channel>
</rss>

