<?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 What does this error message mean: WARNING: GPATH or PATH is not a writable directory? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-error-message-mean-WARNING-GPATH-or-PATH-is-not-a/m-p/538140#M148116</link>
    <description>&lt;P&gt;I'm using sas on demand for my project. Here is all my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE="/home/khalillx0/sasuser.v94/project1data.csv"&lt;BR /&gt;OUT= project1&lt;BR /&gt;DBMS=csv REPLACE;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc contents;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data one;&lt;BR /&gt;set project1;&lt;BR /&gt;pce0 = PCE/78.23517;&lt;BR /&gt;rpgas = Price/pce0;&lt;BR /&gt;logrpgas= log(rpgas);&lt;BR /&gt;logconsumption=log(consumption);&lt;BR /&gt;logincome=log(income);&lt;BR /&gt;num_mon= month (observation_date);&lt;BR /&gt;If num_mon=1 then dumjan=1; else dumjan=0;&lt;BR /&gt;If num_mon=2 then dumfeb=1;else dumfeb=0;&lt;BR /&gt;If num_mon=3 then dummar=1;else dummar=0;&lt;BR /&gt;If num_mon=4 then dumapr=1;else dumapr=0;&lt;BR /&gt;If num_mon=5 then dummay=1;else dummay=0;&lt;BR /&gt;If num_mon=6 then dumjun=1;else dumjun=0;&lt;BR /&gt;If num_mon=7 then dumjul=1;else dumjul=0;&lt;BR /&gt;If num_mon=8 then dumaug=1;else dumaug=0;&lt;BR /&gt;If num_mon=9 then dumsep=1; else dumsep=0;&lt;BR /&gt;If num_mon=10 then dumoct=1; else dumoct=0;&lt;BR /&gt;If num_mon=11 then dumnov=1; else dumnov=0;&lt;BR /&gt;If num_mon=12 then dumdec=1; else dumdec=0;&lt;/P&gt;&lt;P&gt;proc print;&lt;BR /&gt;run;&lt;BR /&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;where observation_date between '01Nov1975'd and '30Nov1980'd;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;where observation_date between '01Mar2001'd and '30Mar2006'd;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;where observation_date between '01Nov2013'd and '30Nov2018'd;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;symbol1 i=join c=black;&lt;BR /&gt;symbol2 i=join c=blue;&lt;BR /&gt;symbol3 i=join c=green;&lt;/P&gt;&lt;P&gt;proc gplot;&lt;BR /&gt;plot consumption*observation_date=1;&lt;BR /&gt;plot PCE_lag*observation_date=2;&lt;BR /&gt;plot income*observation_date=3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc reg;&lt;BR /&gt;where '01Nov1975'd &amp;lt;= observation_date &amp;lt;= '30Nov1980'd;&lt;BR /&gt;model logconsumption = rpgas income;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc reg;&lt;BR /&gt;where '01Mar2001'd &amp;lt;= observation_date &amp;lt;= '31Mar2006'd;&lt;BR /&gt;model logconsumption = rpgas income;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I get this error message for the last two proc reg demands:&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasWarning"&gt;WARNING: GPATH or PATH is not a writable directory. It will be ignored.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Cannot write image to SGprint. Please ensure that proper disk permissions are set.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Cannot write image to SGprint. Please ensure that proper disk permissions are set.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;I do not understand what it means. We copied the code exactly from our prof.&lt;/DIV&gt;</description>
    <pubDate>Sun, 24 Feb 2019 21:36:27 GMT</pubDate>
    <dc:creator>khalillx</dc:creator>
    <dc:date>2019-02-24T21:36:27Z</dc:date>
    <item>
      <title>What does this error message mean: WARNING: GPATH or PATH is not a writable directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-error-message-mean-WARNING-GPATH-or-PATH-is-not-a/m-p/538140#M148116</link>
      <description>&lt;P&gt;I'm using sas on demand for my project. Here is all my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE="/home/khalillx0/sasuser.v94/project1data.csv"&lt;BR /&gt;OUT= project1&lt;BR /&gt;DBMS=csv REPLACE;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc contents;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data one;&lt;BR /&gt;set project1;&lt;BR /&gt;pce0 = PCE/78.23517;&lt;BR /&gt;rpgas = Price/pce0;&lt;BR /&gt;logrpgas= log(rpgas);&lt;BR /&gt;logconsumption=log(consumption);&lt;BR /&gt;logincome=log(income);&lt;BR /&gt;num_mon= month (observation_date);&lt;BR /&gt;If num_mon=1 then dumjan=1; else dumjan=0;&lt;BR /&gt;If num_mon=2 then dumfeb=1;else dumfeb=0;&lt;BR /&gt;If num_mon=3 then dummar=1;else dummar=0;&lt;BR /&gt;If num_mon=4 then dumapr=1;else dumapr=0;&lt;BR /&gt;If num_mon=5 then dummay=1;else dummay=0;&lt;BR /&gt;If num_mon=6 then dumjun=1;else dumjun=0;&lt;BR /&gt;If num_mon=7 then dumjul=1;else dumjul=0;&lt;BR /&gt;If num_mon=8 then dumaug=1;else dumaug=0;&lt;BR /&gt;If num_mon=9 then dumsep=1; else dumsep=0;&lt;BR /&gt;If num_mon=10 then dumoct=1; else dumoct=0;&lt;BR /&gt;If num_mon=11 then dumnov=1; else dumnov=0;&lt;BR /&gt;If num_mon=12 then dumdec=1; else dumdec=0;&lt;/P&gt;&lt;P&gt;proc print;&lt;BR /&gt;run;&lt;BR /&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;where observation_date between '01Nov1975'd and '30Nov1980'd;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;where observation_date between '01Mar2001'd and '30Mar2006'd;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc means;&lt;BR /&gt;var consumption income Oneyear Tenyear Unemployment rpgas PCE_lag;&lt;BR /&gt;where observation_date between '01Nov2013'd and '30Nov2018'd;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;symbol1 i=join c=black;&lt;BR /&gt;symbol2 i=join c=blue;&lt;BR /&gt;symbol3 i=join c=green;&lt;/P&gt;&lt;P&gt;proc gplot;&lt;BR /&gt;plot consumption*observation_date=1;&lt;BR /&gt;plot PCE_lag*observation_date=2;&lt;BR /&gt;plot income*observation_date=3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc reg;&lt;BR /&gt;where '01Nov1975'd &amp;lt;= observation_date &amp;lt;= '30Nov1980'd;&lt;BR /&gt;model logconsumption = rpgas income;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc reg;&lt;BR /&gt;where '01Mar2001'd &amp;lt;= observation_date &amp;lt;= '31Mar2006'd;&lt;BR /&gt;model logconsumption = rpgas income;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I get this error message for the last two proc reg demands:&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasWarning"&gt;WARNING: GPATH or PATH is not a writable directory. It will be ignored.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Cannot write image to SGprint. Please ensure that proper disk permissions are set.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Cannot write image to SGprint. Please ensure that proper disk permissions are set.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;I do not understand what it means. We copied the code exactly from our prof.&lt;/DIV&gt;</description>
      <pubDate>Sun, 24 Feb 2019 21:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-error-message-mean-WARNING-GPATH-or-PATH-is-not-a/m-p/538140#M148116</guid>
      <dc:creator>khalillx</dc:creator>
      <dc:date>2019-02-24T21:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: What does this error message mean: WARNING: GPATH or PATH is not a writable directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-error-message-mean-WARNING-GPATH-or-PATH-is-not-a/m-p/538145#M148120</link>
      <description>&lt;P&gt;I suspect you might be getting this problem:&lt;/P&gt;
&lt;P&gt;&lt;A 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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the suggestions in this SAS note and let us know how you get on.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 22:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-error-message-mean-WARNING-GPATH-or-PATH-is-not-a/m-p/538145#M148120</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-24T22:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: What does this error message mean: WARNING: GPATH or PATH is not a writable directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-error-message-mean-WARNING-GPATH-or-PATH-is-not-a/m-p/538179#M148139</link>
      <description>&lt;P&gt;It might be that SGprint is a SAS filename that points to an invalid directory. Try redefining it to a writable location&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename SGprint "/home/khalillx0/sasuser.v94";&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 04:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-error-message-mean-WARNING-GPATH-or-PATH-is-not-a/m-p/538179#M148139</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-02-25T04:29:59Z</dc:date>
    </item>
  </channel>
</rss>

