<?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 Permissions issues on Unix/linux re: ODS graphics in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359689#M12531</link>
    <description>&lt;P&gt;Hello all-&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SO I have an issue where if I run something in batch or on a scheduler I get this error:&lt;/P&gt;
&lt;PRE&gt;ERROR: Insufficient authorization to access /sharedsas/config/Lev1/NAApp/sasReport13.xml.&lt;/PRE&gt;
&lt;P&gt;I am running an output that includes two graphs that export out to an Excel workbook. It works fine in the interactive enviroment but not in batch. I have attempted to redirect the xml &amp;nbsp;with an ODS XML Path statement but that does not seem to work- &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods xml path="/apps/sas/datasets/data137/xxx/dev/nc_xxx_sandbox/data/dfrx/"; but that &amp;nbsp;seems to be not taking effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was reading something about the display error and writing that to the shell script but that is something I do not have access to-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lawrence&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 15:43:19 GMT</pubDate>
    <dc:creator>LB</dc:creator>
    <dc:date>2017-05-18T15:43:19Z</dc:date>
    <item>
      <title>Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359689#M12531</link>
      <description>&lt;P&gt;Hello all-&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SO I have an issue where if I run something in batch or on a scheduler I get this error:&lt;/P&gt;
&lt;PRE&gt;ERROR: Insufficient authorization to access /sharedsas/config/Lev1/NAApp/sasReport13.xml.&lt;/PRE&gt;
&lt;P&gt;I am running an output that includes two graphs that export out to an Excel workbook. It works fine in the interactive enviroment but not in batch. I have attempted to redirect the xml &amp;nbsp;with an ODS XML Path statement but that does not seem to work- &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods xml path="/apps/sas/datasets/data137/xxx/dev/nc_xxx_sandbox/data/dfrx/"; but that &amp;nbsp;seems to be not taking effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was reading something about the display error and writing that to the shell script but that is something I do not have access to-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lawrence&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 15:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359689#M12531</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2017-05-18T15:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359704#M12534</link>
      <description>&lt;P&gt;I'm guessing a bit without seeing the code, but the destination you are using is probably not XML -- it's probably SASREPORT. &amp;nbsp;Try setting the path on ODS SASREPORT and see if that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:02:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359704#M12534</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-05-18T16:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359707#M12535</link>
      <description>&lt;P&gt;Dan;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The export is xlsx. I just tried that by changing the path to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods SASREPORT path="/apps/sas/datasets/data137/xxx/dev/nc_xxx_sandbox/data/dfrx/"; &amp;nbsp;and it still results in the same error-&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The bit of code I have is-&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options dev=PNG; &lt;BR /&gt;options center;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods escapechar="\";&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ods SASREPORT path="/apps/sas/datasets/data137/&lt;/SPAN&gt;&lt;SPAN&gt;xxx&lt;/SPAN&gt;&lt;SPAN&gt;/dev/nc_&lt;/SPAN&gt;&lt;SPAN&gt;xxx&lt;/SPAN&gt;&lt;SPAN&gt;_sandbox/data/dfrx/"; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;ods excel file="/apps/sas/datasets/data137/xxx/dev/nc_xxx_sandbox/data/dfrx/&amp;amp;&amp;amp;sitea&amp;amp;i.._MOBILITY_REPORT_&amp;amp;d1t..xlsx" style=Seaside options(sheet_name="MS STATISTICS" SHEET_INTERVAL= 'PAGE' autofilter='1' FROZEN_ROWHEADERS='no' &lt;BR /&gt;GRIDLINES='ON' embedded_titles='yes' embedded_footnotes='yes');&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS _ALL_ Close;&lt;BR /&gt;ods listing;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In between that I have one proc report and two sgplot graph outputs. The graphs are the culprit. I have another report running sans graphs and that works just fine in batch mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LB&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359707#M12535</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2017-05-18T16:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359713#M12536</link>
      <description>&lt;P&gt;Just looking at the paths you've mentioned, this looks like a stored process. I believe that SASREPORT is opened by default for stored processes, but I don't think you care about that output. So, try adding this to the beginning of your program and see if it helps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you might want to say:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics / outputfmt=png;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;instead of:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options dev=png;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for your SGPLOT output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:45:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359713#M12536</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2017-05-18T16:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359714#M12537</link>
      <description>&lt;P&gt;Dan;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the suggestions-&lt;/P&gt;
&lt;P&gt;Still get the errors. A little maddening. &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lawrence&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359714#M12537</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2017-05-18T16:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359716#M12538</link>
      <description>&lt;P&gt;On the ODS SASREPORT statement, try adding a&amp;nbsp;&lt;STRONG&gt;gpath=&lt;/STRONG&gt; option that points to a location where you can store files (can be the same as your output file destination).&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359716#M12538</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-05-18T16:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359718#M12539</link>
      <description>&lt;P&gt;Tried that too-that did not work but did find the issue. I will reply all to the issue- &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:00:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359718#M12539</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2017-05-18T17:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359720#M12540</link>
      <description>&lt;P&gt;Ok to reply with my own solution per se-as a way to notify other users-&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the issue was that I had originally used EG to build the template. Then I had swapped out &amp;nbsp;the Gchart for a SG Chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the template had inserted this statement into the code-&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS tagsets.sasreport13(ID=EGSR) gtitle.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once I had removed it the issue resolved itself. &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway thanks for all the assistance. While it was not the solution this time, I am sure the answers will assist in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LB&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:04:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359720#M12540</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2017-05-18T17:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359722#M12541</link>
      <description>&lt;P&gt;You may want to post the actual log for the excuted code shown.&lt;/P&gt;
&lt;P&gt;Your first post has this path in the error:&lt;/P&gt;
&lt;PRE&gt;/sharedsas/config/Lev1/NAApp/sasReport13&lt;/PRE&gt;
&lt;P&gt;Your ods Excel shows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/apps/sas/datasets/data137/xxx/dev/nc_xxx_sandbox/data/dfrx/&amp;amp;&amp;amp;sitea&amp;amp;i.._MOBILITY_REPORT_&amp;amp;d1t..xlsx&lt;/PRE&gt;
&lt;P&gt;and the same folder for ODS SASreport&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not the same paths.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also with a statement like:&lt;/P&gt;
&lt;P&gt;"The graphs are the culprit" you should show the code including the graphs and the log for the entire program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance are the graphs created by a non-SAS appication? Or a non-SG procedure such as Gplot or Gchart?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:08:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359722#M12541</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-18T17:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions issues on Unix/linux re: ODS graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359725#M12542</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;Ballardw;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;See the solution accepted but that was the crux of the issue-is that I had used EG to create the plot-originally not in SGPLOT but I had changed it over and EG had added in the following line&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;ODS tagsets.sasreport13(ID=EGSR) gtitle &amp;nbsp;-So this seem to be crux of the problem even when I had thrown in all the ODS GPATH&amp;nbsp;&amp;amp; ODS SASreport &amp;nbsp;statements to redirect-it still failed in batch mode. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;LB&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Permissions-issues-on-Unix-linux-re-ODS-graphics/m-p/359725#M12542</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2017-05-18T17:17:12Z</dc:date>
    </item>
  </channel>
</rss>

