<?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: Unable to permanently save newly created datasets on SAS Drive in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589962#M14974</link>
    <description>&lt;P&gt;I am using the SAS Cloud Environment to run SAS Studio&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2019 08:49:47 GMT</pubDate>
    <dc:creator>niek</dc:creator>
    <dc:date>2019-09-19T08:49:47Z</dc:date>
    <item>
      <title>Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589946#M14970</link>
      <description>&lt;P&gt;In SAS Studio (version 5)&amp;nbsp; I have created a new dataset, which I want to continue using for analysis in the coming weeks. I don't want to create this dataset every time I want to us it, so I would like to save this dataset on SAS Drive. However, I am not able to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried creating a new library (using: libname MyData '/Users/username/My Folder' ;), but when I try to save the dataset in the library MyData I get the error message: 'library does not exist' (although the library MyData does show up in the list of libraries) I also tried saving the dataset to the library Public, but after logging out the dataset disappears from this library (even though other datasets in this library do not disappear), so this also doesn't seem to be a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how can I save a dataset created in SAS Studio permanently on SAS Drive?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 07:50:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589946#M14970</guid>
      <dc:creator>niek</dc:creator>
      <dc:date>2019-09-19T07:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589948#M14971</link>
      <description>&lt;P&gt;I guess you are using University Edition. The pathname for the shared folder from within the virtual machine that runs UE is&lt;/P&gt;
&lt;PRE&gt;/folders/myfolders&lt;/PRE&gt;
&lt;P&gt;if you set up your VM correctly.&lt;/P&gt;
&lt;P&gt;The path you supplied is that of the host operating system, which is not "visible" to the VM.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 07:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589948#M14971</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-19T07:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589962#M14974</link>
      <description>&lt;P&gt;I am using the SAS Cloud Environment to run SAS Studio&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 08:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589962#M14974</guid>
      <dc:creator>niek</dc:creator>
      <dc:date>2019-09-19T08:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589976#M14980</link>
      <description>&lt;P&gt;I have no idea about the directory structure of the SAS cloud used for UE, but from my experience UNIX admins (almost) never&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;use uppercase in first-level directories (/Users is most likely /users)&lt;/LI&gt;
&lt;LI&gt;use blanks in directory names (also see Maxim 44, if you did that)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Anyway, check for the correct names, always keeping in mind that UNIX is case-sensitive.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 09:56:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/589976#M14980</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-19T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590058#M14987</link>
      <description>&lt;P&gt;SAS UE is M6, SAS OnDemand for Academics is M5.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Studio is 3.7 and the SAS version is 9.4 TS1M5.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to find the path, and it's usually something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname myFiles '/home/userID/folderNameYouCreate';

data myFiles.permanent;
set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;OL&gt;
&lt;LI&gt;Navigate to the servers files and folders pane&lt;/LI&gt;
&lt;LI&gt;Create a folder to save your data sets&lt;/LI&gt;
&lt;LI&gt;Right click the folder and select properties&lt;/LI&gt;
&lt;LI&gt;Copy the path&lt;/LI&gt;
&lt;LI&gt;Use the path in you libname statement (as above)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Use a data step, Proc copy or other proc to move your data set to the permanent library.&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Steps 1 to 5 you only do once essentially. Once you have the path you don't have to repeat those steps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:08:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590058#M14987</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-19T15:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590382#M15028</link>
      <description>&lt;P&gt;Thanks for your help Reeza, but after following all your steps I still get the same error. I have found a solution to my problem though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is to use proc casutil with a save-statement the dataset is saved permanently to the library, while copying the dataset using a data-step or proc copy only saved the dataset temporarily (it disappeared after logging out of the server) to the library.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is to solve the problem is:&lt;/P&gt;&lt;PRE&gt;proc casutil incaslib="casuser" outcaslib="public";
save casdata="dataset" ;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 13:27:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590382#M15028</guid>
      <dc:creator>niek</dc:creator>
      <dc:date>2019-09-20T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590432#M15043</link>
      <description>You must be using SAS Viya then?</description>
      <pubDate>Fri, 20 Sep 2019 15:10:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590432#M15043</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-20T15:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590838#M15119</link>
      <description>&lt;P&gt;Yes, I am using SAS Studio in a SAS Viya environment.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 07:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590838#M15119</guid>
      <dc:creator>niek</dc:creator>
      <dc:date>2019-09-23T07:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to permanently save newly created datasets on SAS Drive</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590951#M15132</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/246104"&gt;@niek&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes, I am using SAS Studio in a SAS Viya environment.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Viya is different enough that it's probably worth mentioning in future questions at the start.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 14:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Unable-to-permanently-save-newly-created-datasets-on-SAS-Drive/m-p/590951#M15132</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-23T14:48:28Z</dc:date>
    </item>
  </channel>
</rss>

