<?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: Deleting Files in SAS Studio (SAS on Demand for Academics) in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913830#M1654</link>
    <description>&lt;P&gt;Hi, I think the issue is that you have spaces at the beginning of your file name. Trying renaming each file to remove the spaces at the beginning. To rename the file, you can right click on the file, then select "Rename".&amp;nbsp; SAS OnDemand for Academics is a Linux-based system, so requires Linux based conventions for file naming. I do not know for sure, but I think Linux disallows leading spaces in file names.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 16:05:21 GMT</pubDate>
    <dc:creator>JackieJ_SAS</dc:creator>
    <dc:date>2024-01-31T16:05:21Z</dc:date>
    <item>
      <title>Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913823#M1653</link>
      <description>&lt;P&gt;SAS will not allow me delete the files circled in red.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS_File_Structure.JPG" style="width: 467px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93114i30665BA50722E3CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_File_Structure.JPG" alt="SAS_File_Structure.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to delete the files by right clicking. and selecting delete.&amp;nbsp; When I do this, i get the following pop up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS_Delete_Button.JPG" style="width: 807px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93117i872068C6C9713474/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_Delete_Button.JPG" alt="SAS_Delete_Button.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I select the Delete button and get the following error message.&amp;nbsp; What am I doing wrong?&amp;nbsp; I can't seem to delete the files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS_Error_Code.JPG" style="width: 626px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93116iCA58F23BB1395FA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_Error_Code.JPG" alt="SAS_Error_Code.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the file structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS_File_Properties.JPG" style="width: 704px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93115iB669DB887866DE9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS_File_Properties.JPG" alt="SAS_File_Properties.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First time poster to the SAS Communities.&amp;nbsp; Let's see how this goes.&amp;nbsp; Any help is appreciated.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913823#M1653</guid>
      <dc:creator>robertl</dc:creator>
      <dc:date>2024-01-31T15:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913830#M1654</link>
      <description>&lt;P&gt;Hi, I think the issue is that you have spaces at the beginning of your file name. Trying renaming each file to remove the spaces at the beginning. To rename the file, you can right click on the file, then select "Rename".&amp;nbsp; SAS OnDemand for Academics is a Linux-based system, so requires Linux based conventions for file naming. I do not know for sure, but I think Linux disallows leading spaces in file names.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:05:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913830#M1654</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-01-31T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913833#M1655</link>
      <description>&lt;P&gt;As additional information, compare your last screen shot to this one:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JackieJ_SAS_0-1706717404956.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93121i75D720D22707E5FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JackieJ_SAS_0-1706717404956.png" alt="JackieJ_SAS_0-1706717404956.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The name field in your file properties has several spaces at the beginning, whereas the name in the screen shot above does not.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913833#M1655</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-01-31T16:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913835#M1656</link>
      <description>&lt;P&gt;I right click the file, then select RENAME.&amp;nbsp; I eliminate all of the spaces at the front of the file name, and get the following error message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Jackie, It's Paul Newsom.&amp;nbsp; I'm working with a colleague, Robert Leach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="robertl_0-1706717781014.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93122i1E1E8F1E8D50BD03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="robertl_0-1706717781014.png" alt="robertl_0-1706717781014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913835#M1656</guid>
      <dc:creator>robertl</dc:creator>
      <dc:date>2024-01-31T16:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913842#M1658</link>
      <description>&lt;P&gt;Hey Paul! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My next suggestion is to try renaming the file to something very simple and short. For example- temp.sas7bdat.&amp;nbsp; Avoid any spaces or capital letters in the name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, make sure you refresh your file folders from time to time. You can do that by using the two arrows icon on the far right in the top menu:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JackieJ_SAS_0-1706718978486.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93123i3DAC8A5B644A2121/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JackieJ_SAS_0-1706718978486.png" alt="JackieJ_SAS_0-1706718978486.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913842#M1658</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-01-31T16:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913851#M1661</link>
      <description>Also, I would avoid using your sasuser directory to store files - move your files to Files(Home) or create a subfolder under Files(Home).</description>
      <pubDate>Wed, 31 Jan 2024 17:28:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913851#M1661</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2024-01-31T17:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913852#M1662</link>
      <description>&lt;P&gt;When file names on ODA have unexpected characters, it may not be possible to even rename the file. One way to delete these datasets without ever referencing the dataset name is to delete all the datasets in the same folder using proc datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mylib "~/MyFolder";

proc datasets library=mylib kill;
run; quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The &lt;CODE class=" language-sas"&gt;kill&lt;/CODE&gt; option deletes all datasets in my library &lt;CODE class=" language-sas"&gt;mylib.&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can replace&amp;nbsp;&lt;CODE class=" language-sas"&gt;"~/MyFolder"&lt;/CODE&gt; with the appropriate folder path. To find the folder path, right click on the folder name, select Properties from the menu, then copy the Location field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 17:44:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913852#M1662</guid>
      <dc:creator>JackieJ_SAS</dc:creator>
      <dc:date>2024-01-31T17:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Files in SAS Studio (SAS on Demand for Academics)</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913891#M1663</link>
      <description>&lt;P&gt;Jackie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul and I really appreciate your looking into how to delete what seemed to be an undeletable file by using the "kill" feature you suggested.&amp;nbsp; Again, many thanks for responding so quickly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 22:30:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Deleting-Files-in-SAS-Studio-SAS-on-Demand-for-Academics/m-p/913891#M1663</guid>
      <dc:creator>robertl</dc:creator>
      <dc:date>2024-01-31T22:30:43Z</dc:date>
    </item>
  </channel>
</rss>

