<?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: SASHELP - getting an error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SASHELP-getting-an-error/m-p/878079#M346914</link>
    <description>&lt;P&gt;Thank you so much Cynthia.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 18:13:48 GMT</pubDate>
    <dc:creator>sas_td2016</dc:creator>
    <dc:date>2023-05-29T18:13:48Z</dc:date>
    <item>
      <title>SASHELP - getting an error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASHELP-getting-an-error/m-p/878076#M346912</link>
      <description>&lt;P&gt;Hello Friends&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to create dataset from SASHELP, I am getting this error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas_td2016_0-1685383267826.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84435i22EF641EE865DE03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sas_td2016_0-1685383267826.png" alt="sas_td2016_0-1685383267826.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the query I used:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas_td2016_1-1685383304694.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84436i35BCEC1D92FB35B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sas_td2016_1-1685383304694.png" alt="sas_td2016_1-1685383304694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your help is highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 18:02:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASHELP-getting-an-error/m-p/878076#M346912</guid>
      <dc:creator>sas_td2016</dc:creator>
      <dc:date>2023-05-29T18:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: SASHELP - getting an error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASHELP-getting-an-error/m-p/878078#M346913</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;The error message tells you what is wrong. SASHELP is read-only library. Your programs do not have write access to create &lt;STRONG&gt;SASHELP&lt;/STRONG&gt;.CARS1. However, you could try this:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data &lt;FONT color="#FF00FF"&gt;work&lt;/FONT&gt;.cars1;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; set sashelp.cars;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Using a temporary location should be OK because every SAS session has a &lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;WORK&lt;/STRONG&gt; &lt;/FONT&gt;location where your programs should have write access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to write the CARS1 data to a permanent library, then you'll need to define one in a folder where you have WRITE access:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname&amp;nbsp;&lt;FONT color="#FF00FF"&gt;permlib "path-to-write-access-location";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data &lt;FONT color="#FF00FF"&gt;permlib&lt;/FONT&gt;.cars1;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&amp;nbsp; set sashelp.cars;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;Hope this helps you run your code,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 18:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASHELP-getting-an-error/m-p/878078#M346913</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-05-29T18:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: SASHELP - getting an error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASHELP-getting-an-error/m-p/878079#M346914</link>
      <description>&lt;P&gt;Thank you so much Cynthia.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 18:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASHELP-getting-an-error/m-p/878079#M346914</guid>
      <dc:creator>sas_td2016</dc:creator>
      <dc:date>2023-05-29T18:13:48Z</dc:date>
    </item>
  </channel>
</rss>

