<?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: Sas 9.4 graphs in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/326941#M11484</link>
    <description>&lt;P&gt;If you're on a Unix server it's unlikely your server has a C:\temp location and its not likely to have access to your C drive at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Talk to your SAS administrators or colleagues regarding what locations you do have access to and where you can save files and then download them to your system.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2017 04:48:17 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-01-24T04:48:17Z</dc:date>
    <item>
      <title>Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/326931#M11483</link>
      <description>&lt;P&gt;Hi all&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm getting an error sas cannot write a png file to the disk and it says&amp;nbsp;I don't have acces . I am running this on enterprise and on unix server. I know how to solve this problem based on&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Sas 49421 issue" href="http://support.sas.com/kb/49/421.html" target="_blank"&gt;http://support.sas.com/kb/49/421.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;ods _all_ close; &lt;BR /&gt;ods html path='c:\temp' (url=none) file='sastest.html';&lt;/P&gt;
&lt;P&gt;/* Your SAS procedure code goes here */&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;im running this in macro code. I had to run through this macro multiple times as they are different sets of population. Whenever I run through batch mode the first iteration does not throw out any error but successive iterations will gives above error. But when I run one by one individually I don't see any error&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can some one please help,me&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 04:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/326931#M11483</guid>
      <dc:creator>SASSLICK001</dc:creator>
      <dc:date>2017-01-24T04:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/326941#M11484</link>
      <description>&lt;P&gt;If you're on a Unix server it's unlikely your server has a C:\temp location and its not likely to have access to your C drive at all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Talk to your SAS administrators or colleagues regarding what locations you do have access to and where you can save files and then download them to your system.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 04:48:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/326941#M11484</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-24T04:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/326953#M11486</link>
      <description>&lt;P&gt;Posting your actual log with the error, rather than the code fix from the SAS note would be helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 06:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/326953#M11486</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-01-24T06:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327001#M11487</link>
      <description>&lt;P&gt;Unix does not have paths such as "c:\temp", this is a Windows style pathing system. &amp;nbsp;Use a path valid per Unix, and one that you actually have access rights to.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 10:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327001#M11487</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-24T10:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327047#M11488</link>
      <description>&lt;P&gt;Sorry I was not clear in my message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the following not the one i said earlier ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods listing close; &lt;BR /&gt;ods html path="%sysfunc(pathname(work))" ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proceedure..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods html close;&lt;/P&gt;
&lt;P&gt;ods listing;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the actual error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6871i3B46B830404664C7/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="error.PNG" title="error.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327047#M11488</guid>
      <dc:creator>SASSLICK001</dc:creator>
      <dc:date>2017-01-24T13:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327048#M11489</link>
      <description>&lt;P&gt;Please run the following and post the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let path="%sysfunc(pathname(work))" ;&lt;BR /&gt;%put &amp;amp;=path;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, are you running from EG? SAS Studio? Are you using a remote SAS server?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327048#M11489</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-01-24T13:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327053#M11490</link>
      <description>&lt;P&gt;Ah, you might want to read this article:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/21208680/turn-off-automatic-graph-saving-in-sas-9-4" target="_blank"&gt;http://stackoverflow.com/questions/21208680/turn-off-automatic-graph-saving-in-sas-9-4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then before your code put:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ods listing gpath="%sysfunc(getoption(work))";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that HTML needs to save the png somewhere and that is set to something, but either doesn't exist or you don't have access to it.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327053#M11490</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-24T14:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327066#M11492</link>
      <description>&lt;P&gt;Please see the path from log&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"/sas/work004/SAS_work1F8400001C76_uctvp021/SAS_workF34A00001C76_uctvp021"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running this on SAS EG and connecting to SAS 9.4 unix server&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327066#M11492</guid>
      <dc:creator>SASSLICK001</dc:creator>
      <dc:date>2017-01-24T14:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327073#M11493</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/43230"&gt;@SASSLICK001&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Please see the path from log&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"/sas/work004/SAS_work1F8400001C76_uctvp021/SAS_workF34A00001C76_uctvp021"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running this on SAS EG and connecting to SAS 9.4 unix server&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The / indicates that path is likely on the server and your session likely does not have write permissions there.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:16:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327073#M11493</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-24T15:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327087#M11494</link>
      <description>When I run one macro then it doesnot show this error, but when i run the multiple macros in batch then except first one, rest of the macro iteration start giving this error</description>
      <pubDate>Tue, 24 Jan 2017 15:50:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327087#M11494</guid>
      <dc:creator>SASSLICK001</dc:creator>
      <dc:date>2017-01-24T15:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sas 9.4 graphs</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327097#M11495</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/43230"&gt;@SASSLICK001&lt;/a&gt; wrote:&lt;BR /&gt;When I run one macro then it doesnot show this error, but when i run the multiple macros in batch then except first one, rest of the macro iteration start giving this error&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I might suggest then that at the start of the batch that you get one macro variable for the path:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let mypath=%sysfunc(pathname(work)) ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then use&lt;/P&gt;
&lt;P&gt;ODS Html path="&amp;amp;mypath";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There could be something in repeated calls to the function that is changing the actual path value between macros. But multiple macros also implies multiple other places for things to break. You might also try running the batch job with Options MPRINT SYMBOLGEN MLOGIC; and then wade through a lot of log. The log is more likelyt to show which specific lines are causing problems. You may want the MPRINTNEST option if you have macros calling macros and SOURCE2 if using %Include files.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 16:10:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Sas-9-4-graphs/m-p/327097#M11495</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-24T16:10:00Z</dc:date>
    </item>
  </channel>
</rss>

