<?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: Code or syntax Error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825287#M325971</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/253321"&gt;@CathyVI&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;I removed the "Access=readonly" but I still have the issue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyVI_0-1658764579109.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73711i989444BFA76FDF59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyVI_0-1658764579109.png" alt="CathyVI_0-1658764579109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Means that another permission system, such as your user ID, does not allow that which might be a SAS session setting, a setting for the particular file in that folder or that entire folder.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 16:10:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-07-25T16:10:25Z</dc:date>
    <item>
      <title>Code or syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825273#M325963</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Who can explain why an getting this error message and how to rectify it. Thanks&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;FILENAME REFFILE '/BUBD/BUBD_2021/MXM.xlsx';&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE=REFFILE&lt;BR /&gt;DBMS=XLSX&lt;BR /&gt;OUT=WORK.IMPORT REPLACE;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;libname outdata "/_PTSU/FS_SAAH/PUD/Data/SASDS/MPOS_2021" Access = readonly;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data outdata.MPOS_2021_alldata;&lt;BR /&gt;set work.import;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyVI_0-1658763205857.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73708i1CBFFD9130507FFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyVI_0-1658763205857.png" alt="CathyVI_0-1658763205857.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825273#M325963</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2022-07-25T15:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Code or syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825278#M325966</link>
      <description>&lt;PRE&gt;libname outdata "/_PTSU/FS_SAAH/PUD/Data/SASDS/MPOS_2021" &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Access = readonly&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/PRE&gt;
&lt;P&gt;Read only access is exactly that, read only. You cannot write to the library with this setting, remove it if you want to write to the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/253321"&gt;@CathyVI&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Who can explain why an getting this error message and how to rectify it. Thanks&lt;/P&gt;
&lt;P&gt;My code:&lt;/P&gt;
&lt;P&gt;FILENAME REFFILE '/BUBD/BUBD_2021/MXM.xlsx';&lt;/P&gt;
&lt;P&gt;PROC IMPORT DATAFILE=REFFILE&lt;BR /&gt;DBMS=XLSX&lt;BR /&gt;OUT=WORK.IMPORT REPLACE;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;libname outdata "/_PTSU/FS_SAAH/PUD/Data/SASDS/MPOS_2021" Access = readonly;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data outdata.MPOS_2021_alldata;&lt;BR /&gt;set work.import;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyVI_0-1658763205857.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73708i1CBFFD9130507FFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyVI_0-1658763205857.png" alt="CathyVI_0-1658763205857.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:49:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825278#M325966</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-25T15:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Code or syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825281#M325967</link>
      <description>&lt;P&gt;FYI this would be code that is more optimally structured/named:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname outdata "/_PTSU/FS_SAAH/PUD/Data/SASDS/MPOS_2021";

FILENAME MPOS '/BUBD/BUBD_2021/MXM.xlsx';

PROC IMPORT DATAFILE=MPOS
DBMS=XLSX
OUT=outdata.MPOS_2021_alldata REPLACE;
GETNAMES=YES;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:54:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825281#M325967</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-25T15:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Code or syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825284#M325968</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;I removed the "Access=readonly" but I still have the issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyVI_0-1658764579109.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73711i989444BFA76FDF59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyVI_0-1658764579109.png" alt="CathyVI_0-1658764579109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825284#M325968</guid>
      <dc:creator>CathyVI</dc:creator>
      <dc:date>2022-07-25T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Code or syntax Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825287#M325971</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/253321"&gt;@CathyVI&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;I removed the "Access=readonly" but I still have the issue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyVI_0-1658764579109.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73711i989444BFA76FDF59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyVI_0-1658764579109.png" alt="CathyVI_0-1658764579109.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Means that another permission system, such as your user ID, does not allow that which might be a SAS session setting, a setting for the particular file in that folder or that entire folder.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 16:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Code-or-syntax-Error/m-p/825287#M325971</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-25T16:10:25Z</dc:date>
    </item>
  </channel>
</rss>

