<?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 Every time I try to make a permanent data set I get a library does not exist message in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Every-time-I-try-to-make-a-permanent-data-set-I-get-a-library/m-p/985721#M11548</link>
    <description>&lt;P&gt;I am working in SAS on demand.&lt;/P&gt;&lt;P&gt;This is the code I used. I have tried many different cases for the library and data set names, and nothing seems to work. I briefly got it to work yesterday, and I could see the data set in the mydata library, but then it disappeared this morning and I can't seem to make anything work. Is it just not possible to save data sets in SAS on demand?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME mydata 'C:\MYDATA';&lt;/P&gt;&lt;P&gt;data mydata.trial;&lt;BR /&gt;input name $ sex $ age;&lt;BR /&gt;label name = "first name"&lt;BR /&gt;sex = "birth sex";&lt;BR /&gt;cards;&lt;BR /&gt;kristin 2 54&lt;BR /&gt;stacy 1 56&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc print data= mydata.trial label;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2026 18:12:29 GMT</pubDate>
    <dc:creator>oldeks</dc:creator>
    <dc:date>2026-03-31T18:12:29Z</dc:date>
    <item>
      <title>Every time I try to make a permanent data set I get a library does not exist message</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Every-time-I-try-to-make-a-permanent-data-set-I-get-a-library/m-p/985721#M11548</link>
      <description>&lt;P&gt;I am working in SAS on demand.&lt;/P&gt;&lt;P&gt;This is the code I used. I have tried many different cases for the library and data set names, and nothing seems to work. I briefly got it to work yesterday, and I could see the data set in the mydata library, but then it disappeared this morning and I can't seem to make anything work. Is it just not possible to save data sets in SAS on demand?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME mydata 'C:\MYDATA';&lt;/P&gt;&lt;P&gt;data mydata.trial;&lt;BR /&gt;input name $ sex $ age;&lt;BR /&gt;label name = "first name"&lt;BR /&gt;sex = "birth sex";&lt;BR /&gt;cards;&lt;BR /&gt;kristin 2 54&lt;BR /&gt;stacy 1 56&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc print data= mydata.trial label;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 18:12:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Every-time-I-try-to-make-a-permanent-data-set-I-get-a-library/m-p/985721#M11548</guid>
      <dc:creator>oldeks</dc:creator>
      <dc:date>2026-03-31T18:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Every time I try to make a permanent data set I get a library does not exist message</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Every-time-I-try-to-make-a-permanent-data-set-I-get-a-library/m-p/985724#M11549</link>
      <description>&lt;P&gt;Are you running this in SAS/Studio? If so, SAS/Studio cannot access files or folders on your local computer's hard drives.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to create libraries on the server where SAS/Studio is running. You mentioned SAS On Demand, here is how I use the LIBNAME statement&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mydata "/home/paige.miller3";

data mydata.class;
	set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, you would have to use a different folder than PAIGE.MILLER3, it has to be a folder the exists in your SAS On Demand.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 18:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Every-time-I-try-to-make-a-permanent-data-set-I-get-a-library/m-p/985724#M11549</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2026-03-31T18:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Every time I try to make a permanent data set I get a library does not exist message</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Every-time-I-try-to-make-a-permanent-data-set-I-get-a-library/m-p/985725#M11550</link>
      <description>&lt;P&gt;With SAS On Demand, the actual SAS process (which you access through the SAS Studio web application) runs on a Linux-based cloud server. You must use UNIX-style syntax for file and path names. UNIX does not have drive letters, but a single directory tree which starts at "root", symbolized by a slash. You "own" your home directory, and the system provides a shortcut to it, symbolized by a tilde. So if you created a directory/folder called mydata in your home folder in the Studio navigation tab, in your code you would use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mydata "~/mydata";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also note that UNIX operating systems are case sensitive, mydata and Mydata would be different objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the future, &lt;U&gt;&lt;STRONG&gt;always&lt;/STRONG&gt;&lt;/U&gt; post the complete log of code that fails by copy/pasting the text into a window opened with this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54552i914D97BE1B0F21E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The log is our primary diagnostic tool, see Maxim 2.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 19:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Every-time-I-try-to-make-a-permanent-data-set-I-get-a-library/m-p/985725#M11550</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2026-03-31T19:22:38Z</dc:date>
    </item>
  </channel>
</rss>

