<?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: Insufficient authorization to access clarification? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739387#M230765</link>
    <description>&lt;P&gt;Many thanks and warm regards,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 04:04:19 GMT</pubDate>
    <dc:creator>Phil_NZ</dc:creator>
    <dc:date>2021-05-06T04:04:19Z</dc:date>
    <item>
      <title>Insufficient authorization to access clarification?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739381#M230760</link>
      <description>&lt;P&gt;Hi all SAS Users,&lt;/P&gt;
&lt;P&gt;When running the code below, I face an error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT= WORK.PARM  DATAFILE= "C:\Users\pnguyen\OneDrive - Massey University\PhD JOURNEY\leniency &amp;amp; operating\test_present\parm.xls"  DBMS=EXCEL REPLACE;
  RANGE="parm";
  GETNAMES=YES;
  MIXED=NO;
  SCANTEXT=YES;
  USEDATE=YES;
  SCANTIME=YES;
RUN;
/*write a dataset with standard error on the same column of coefficient*/
data parm2;
set parm;
if not missing(stderr) and variable not in ('R-square','Adj.R-sq','N. Obs.') then do; 
value=estimate; type='coefficient'; output; end;
if not missing(stderr) then do; value=stderr; type='stderr' ;output; end;
if variable in ('R-square','Adj.R-sq','N. Obs.') then do; value=estimate; type=variable ;output; end; 
run;


proc format;           
	picture stderrf (round)       
     	low-high=' 9.9999)' (prefix='(')                                
            .=' ';                                                  
run;



ods html close;
ods html;
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;64         ods html close;
65         ods html;
NOTE: Writing HTML Body file: sashtml16.htm
&lt;STRONG&gt;ERROR: Insufficient authorization to access C:\WINDOWS\system32\sashtml16.htm.
ERROR: No body file. HTML output will not be created.&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;I did a search and see the solution from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp; in &lt;A href="https://communities.sas.com/t5/SAS-Analytics-U/ERROR-Insufficient-authorization-to-access/td-p/273819" target="_self"&gt;this discussion&lt;/A&gt; but I do not understand the solution, therefore do not know how to apply in my case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apart from that, I also follow&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13934"&gt;@Damo&lt;/a&gt;&amp;nbsp;in &lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/Insufficient-authorization-to-access/td-p/426088" target="_self"&gt;this post&lt;/A&gt; to add&amp;nbsp;&lt;SPAN&gt;"ods listing close;&lt;/SPAN&gt;&lt;SPAN&gt;" at the top of my code but it still does not work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;34 ods listing close;&lt;BR /&gt;35 ods html close;&lt;BR /&gt;36 ods html;&lt;BR /&gt;&lt;BR /&gt;NOTE: Writing HTML Body file: sashtml22.htm&lt;BR /&gt;&lt;BR /&gt;ERROR: Insufficient authorization to access C:\WINDOWS\system32\sashtml22.htm.&lt;BR /&gt;&lt;BR /&gt;ERROR: No body file. HTML output will not be created.ods listing close;
ods html close;
ods html;
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In this post,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13934"&gt;@Damo&lt;/a&gt;&amp;nbsp;also mentioned that we can use &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/n0zoj5b5bfebnyn1w6m97qqzccgm.htm" target="_self"&gt;PRINT System option Window&lt;/A&gt; to write the output to another folder but it is only for &lt;STRONG&gt;lst&lt;/STRONG&gt; file, not &lt;STRONG&gt;htm&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I much appreciate if you can have a look on that?&lt;/P&gt;
&lt;P&gt;Warm regards and thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 03:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739381#M230760</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-06T03:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access clarification?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739383#M230762</link>
      <description>&lt;P&gt;What is most likely happening is your ODS Html has no file listed as an actual destination. So SAS is using an unexpected location :C:\windows\system32 and you don't have write permissions in that folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you explicitly use an ODS destination it is a good idea to specify where that location will be and it needs to be one you know you have write access.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 03:36:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739383#M230762</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-06T03:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access clarification?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739384#M230763</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp; for your explanation, but I am really naive regarding operating system thing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;If you explicitly use an ODS destination it is a good idea to specify where that location will be and it needs to be one you know you have write access.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I am ambiguous about this sentence, I much appreciate it if you can explain to me, what should I do to know which location I have write access to, please? I am using the desktop from my school.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 03:53:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739384#M230763</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-06T03:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access clarification?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739386#M230764</link>
      <description>&lt;P&gt;You need to specify a folder and file location on your ODS "open" statements to avoid writing to a default location you don't have access to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html file="c:\temp\MyHTMLfile.htm";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 03:59:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739386#M230764</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-05-06T03:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization to access clarification?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739387#M230765</link>
      <description>&lt;P&gt;Many thanks and warm regards,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 04:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-clarification/m-p/739387#M230765</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-05-06T04:04:19Z</dc:date>
    </item>
  </channel>
</rss>

