<?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: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640322#M190698</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;From your error it look that you try to write a Windows machine file "c:\temp\20200416.txt" from the linux/UNIX machine (/sas/config/Lev1/SASApp/).&lt;BR /&gt;I'm guessing that your filename statement is:&lt;BR /&gt;`filename PHOLD "c:\temp\20200416.txt";` ?&lt;BR /&gt;You have to create file on the Linux/UNIX machine first (e.g. in your home folder `filename PHOLD "~/20200416.txt";`). and then copy it to WIndows.&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Bart&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Apr 2020 08:28:52 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2020-04-16T08:28:52Z</dc:date>
    <item>
      <title>How to solve ERROR:Insufficient authorization to access /sas/SASApp/c:\temp\200416.txt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640320#M190696</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;
&lt;P&gt;I am using this code to&lt;/P&gt;
&lt;P&gt;find out today's file and read that file into a dataset:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;data _null_;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;length dsnname $100;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;today=put(today(),yymmdd7.);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dsnname = compress('c:\temp\'||today||'.txt');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;file phold filevar=dsnname notitles;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;put today;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but getting this error:&amp;nbsp;Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\200416.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;how to&amp;nbsp; solve this I also want to add&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;'/folders/myfolders/sales.pdf'&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but don't know where to add this.&lt;/P&gt;
&lt;P&gt;my file format is OnlineUser20200416 but in the error it is showing 200416, please correct the date time format in this code too. I am using windows(EG sas)&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Edited&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:55:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640320#M190696</guid>
      <dc:creator>annypanny</dc:creator>
      <dc:date>2020-04-16T09:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640322#M190698</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;From your error it look that you try to write a Windows machine file "c:\temp\20200416.txt" from the linux/UNIX machine (/sas/config/Lev1/SASApp/).&lt;BR /&gt;I'm guessing that your filename statement is:&lt;BR /&gt;`filename PHOLD "c:\temp\20200416.txt";` ?&lt;BR /&gt;You have to create file on the Linux/UNIX machine first (e.g. in your home folder `filename PHOLD "~/20200416.txt";`). and then copy it to WIndows.&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Bart&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2020 08:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640322#M190698</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-04-16T08:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640327#M190703</link>
      <description>could you please give the soluion that what change I have to do in my code and where, as I am a bit confuse here</description>
      <pubDate>Thu, 16 Apr 2020 08:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640327#M190703</guid>
      <dc:creator>annypanny</dc:creator>
      <dc:date>2020-04-16T08:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640334#M190709</link>
      <description>&lt;P&gt;Ok, so step by step:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Just to clarify, you are working on Linux/UNIX server, right?&lt;/P&gt;
&lt;P&gt;2) you have a data set on your windows PC in folder: "&lt;SPAN&gt;c:\temp\&lt;/SPAN&gt;" and the filename is "&lt;SPAN&gt;OnlineUser20200416.txt&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;3) you want to read the file into a SAS dataset (if yes, what is the file structure)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 08:51:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640334#M190709</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-04-16T08:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640342#M190717</link>
      <description>&lt;P&gt;Since this is a continuation from&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-extract-an-external-file-into-a-sas-dataset-in-EG-windows/m-p/640331" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-extract-an-external-file-into-a-sas-dataset-in-EG-windows/m-p/640331&lt;/A&gt;, I quote my answers from there:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;You must always keep in mind that you work in a client/server environment. Code you run on the server (via SAS Studio or Enterprise Guide) has to use path names available on the server, and the syntax of the server's operating system.&lt;/P&gt;
&lt;P&gt;Since your SAS server is obviously a UNIX system, you need to use the &lt;A href="https://en.wikipedia.org/wiki/Unix_filesystem" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;UNIX File System&lt;/A&gt; language. And point your file references to locations where you have the required permissions.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I cannot look into your server (if I could, I would either have the police knocking soon, or your IT people would all be fired), so&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;&lt;EM&gt;you&lt;/EM&gt;&lt;/U&gt;&lt;SPAN&gt; need to know where to put data in your system environment. Get help from your server administrators, they can tell you where to put data on the server (a good bet is always &lt;/SPAN&gt;&lt;A href="https://en.wikipedia.org/wiki/Environment_variable#$HOME" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;$HOME&lt;/A&gt;&lt;SPAN&gt;), and how to move the data from there to its final intended location.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640342#M190717</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-16T09:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640357#M190722</link>
      <description>1. i am working on windows system.&lt;BR /&gt;3.yes</description>
      <pubDate>Thu, 16 Apr 2020 10:07:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640357#M190722</guid>
      <dc:creator>annypanny</dc:creator>
      <dc:date>2020-04-16T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640359#M190723</link>
      <description>I have successfully run the above code now how can I read the dataset?&lt;BR /&gt;using infile?</description>
      <pubDate>Thu, 16 Apr 2020 10:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640359#M190723</guid>
      <dc:creator>annypanny</dc:creator>
      <dc:date>2020-04-16T10:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640365#M190726</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/316738"&gt;@annypanny&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;1. i am working on windows system.&lt;BR /&gt;3.yes&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you can show me a path like&lt;/P&gt;
&lt;PRE&gt;/sas/config/Lev1/SASApp/&lt;/PRE&gt;
&lt;P&gt;on any Windows system in production use, I will happily eat that broomstick over there (in German: "dann fress' ich einen Besen").&lt;/P&gt;
&lt;P&gt;Your Enterprise Guide (or the browser with which you access SAS Studio) runs on Windows, but your SAS runs on a UNIX system.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 10:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640365#M190726</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-16T10:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640367#M190728</link>
      <description>&lt;P&gt;PS this path&lt;/P&gt;
&lt;PRE&gt;/sas/config/Lev1/SASApp/&lt;/PRE&gt;
&lt;P&gt;is almost&amp;nbsp;&lt;EM&gt;exactly&lt;/EM&gt;&amp;nbsp;the path to the default SASApp server context on our AIX server.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 10:38:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640367#M190728</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-16T10:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve ERROR:Insufficient authorization to access /sas/config/Lev1/SASApp/c:\temp\20200416</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640392#M190742</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm confused by your answers.&lt;/P&gt;
&lt;P&gt;I see two options: either you elaborate about your issue in clearer way, or I won't be able to help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 11:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-solve-ERROR-Insufficient-authorization-to-access-sas/m-p/640392#M190742</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-04-16T11:30:30Z</dc:date>
    </item>
  </channel>
</rss>

