<?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: Permanent library to my local drive in SAS Studio in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824406#M546</link>
    <description>&lt;P&gt;Look under Server Files and Folders.&amp;nbsp; Only LIBREFs that have been defined will appear in LIBRARIES.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1658333866481.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73535iDF8BDBA04CA3E4E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tom_0-1658333866481.png" alt="Tom_0-1658333866481.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On UNIX (which is where SAS is running) you can normally just use ~ as shortcut for referencing your home directory.&lt;/P&gt;
&lt;PRE&gt; 69         data _null_;
 70           infile '~/test1.csv' obs=3;
 71           input;
 72           list;
 73         run;
 
 NOTE: The infile '~/test1.csv' is:
       Filename=/home/XXX/test1.csv,
       Owner Name=XXX,Group Name=oda,
       Access Permission=-rw-r--r--,
       Last Modified=06Dec2021:20:14:49,
       File Size (bytes)=384
 
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 1         Alfred,M,14,69,112.5 20
 2         Alice,F,13,56.5,84 18
 3         Barbara,F,13,65.3,98 20
 NOTE: 3 records were read from the infile '~/test1.csv'.
       The minimum record length was 18.
       The maximum record length was 20.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 16:19:12 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-07-20T16:19:12Z</dc:date>
    <item>
      <title>Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824344#M543</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Is it possible to create a permanent library that points to a local folder on my computer while using SAS Studio (SAS on Demand for Academics)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the simple libname statements but to no success, like:&lt;/P&gt;&lt;P&gt;libname library "C:\SASonDemand";&lt;BR /&gt;libname library "/pbr/biconfig/940/Lev1/SASApp/C:/SASonDemand";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible within SAS Studio to create a folder like (C:\SASonDemand) and have the permanent library point to it? Or, must all permanent libraries be contained within the SAS Studio environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824344#M543</guid>
      <dc:creator>kofi_appiah</dc:creator>
      <dc:date>2022-07-20T12:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824346#M544</link>
      <description>&lt;P&gt;SAS/Studio is a tool that allows you to use your BROWSER to manipulate and run SAS code.&lt;/P&gt;
&lt;P&gt;The SAS code itself will run on SAS session that is running on the application server that your SAS/Studio session is connected to.&lt;/P&gt;
&lt;P&gt;SAS on Demand for Academics is a particular SAS/Studio installation.&amp;nbsp; The server that it uses to run SAS is located at SAS.&amp;nbsp; So if you want to make libref that points to some directory where you can store SAS datasets then that directory needs to be on the machine where SAS is running.&amp;nbsp; So you need to place the files in your home directory on the SAS server, not on the PC that you happen to be running the browser that is allowing you to access SAS/Studio.&amp;nbsp; Even if there was some magic that the browser could do that would allow SAS/Studio or SAS code to reach over the internet back to your PC and grabs files tomorrow you might connect to SAS/Studio from a different browser on a different PC.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824346#M544</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-07-20T13:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824396#M545</link>
      <description>&lt;P&gt;Thank you, it is a bit clearer. So how do I find my home directory on the SAS server? Please see screenshot.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kofi_appiah_0-1658333010463.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73532i1D6C173A6CFA7061/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kofi_appiah_0-1658333010463.png" alt="kofi_appiah_0-1658333010463.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 16:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824396#M545</guid>
      <dc:creator>kofi_appiah</dc:creator>
      <dc:date>2022-07-20T16:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824406#M546</link>
      <description>&lt;P&gt;Look under Server Files and Folders.&amp;nbsp; Only LIBREFs that have been defined will appear in LIBRARIES.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1658333866481.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73535iDF8BDBA04CA3E4E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tom_0-1658333866481.png" alt="Tom_0-1658333866481.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On UNIX (which is where SAS is running) you can normally just use ~ as shortcut for referencing your home directory.&lt;/P&gt;
&lt;PRE&gt; 69         data _null_;
 70           infile '~/test1.csv' obs=3;
 71           input;
 72           list;
 73         run;
 
 NOTE: The infile '~/test1.csv' is:
       Filename=/home/XXX/test1.csv,
       Owner Name=XXX,Group Name=oda,
       Access Permission=-rw-r--r--,
       Last Modified=06Dec2021:20:14:49,
       File Size (bytes)=384
 
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 1         Alfred,M,14,69,112.5 20
 2         Alice,F,13,56.5,84 18
 3         Barbara,F,13,65.3,98 20
 NOTE: 3 records were read from the infile '~/test1.csv'.
       The minimum record length was 18.
       The maximum record length was 20.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 16:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824406#M546</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-07-20T16:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824441#M547</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429967"&gt;@kofi_appiah&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible within SAS Studio to create a folder like (C:\SASonDemand) and have the permanent library point to it? Or, must all permanent libraries be contained within the SAS Studio environment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It is not possible to create a permanent library to your local drive, all permanent libraries must be contained in the SAS Studio Environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can navigate that environment using the Servers Files &amp;amp; Folders Pane.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 18:34:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824441#M547</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-20T18:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824446#M548</link>
      <description>Hi:&lt;BR /&gt;  &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; is correct, you cannot write to your C: drive directly from a program that you run in SAS Studio. so you must define your libraries and write your output to folders under your Files (Home) location. However, AFTER you create data or output, if you want to save it locally, you can find the file(s) in your Server Files and Folders panel and download selected files to your local machine. On my system, the downloaded files go to my Downloads folder and then I can move them from there to a different folder. However, once downloaded, you cannot read them with SAS Studio. Programs running in SAS Studio can only access data in folders that are under the Files (Home) location.&lt;BR /&gt;Cynthia&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jul 2022 18:57:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824446#M548</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-07-20T18:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824478#M549</link>
      <description>&lt;P&gt;With your guidance, I tried the home directory listed at the bottom of the console (highlighted in second screenshot) and it works, finally. I created (I hope) a permanent folder called 'Testing' for which I now see in the libraries.&lt;/P&gt;&lt;P&gt;Thank you.&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="kofi_appiah_0-1658346829545.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73550i6B9F53C8DCAC9236/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kofi_appiah_0-1658346829545.png" alt="kofi_appiah_0-1658346829545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kofi_appiah_2-1658346927642.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73552iD6E6B99705F12666/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kofi_appiah_2-1658346927642.png" alt="kofi_appiah_2-1658346927642.png" /&gt;&lt;/span&gt;&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="kofi_appiah_3-1658346992881.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73553i4E887701667000F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kofi_appiah_3-1658346992881.png" alt="kofi_appiah_3-1658346992881.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824478#M549</guid>
      <dc:creator>kofi_appiah</dc:creator>
      <dc:date>2022-07-20T19:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824479#M550</link>
      <description>&lt;P&gt;Thank you. So SAS studio does not allow the uploading of SAS code or data sets from my local drive? Thus, must everything be created or generated within the SAS studio environment?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:01:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824479#M550</guid>
      <dc:creator>kofi_appiah</dc:creator>
      <dc:date>2022-07-20T20:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent library to my local drive in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824485#M551</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429967"&gt;@kofi_appiah&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you. So SAS studio does not allow the uploading of SAS code or data sets from my local drive? Thus, must everything be created or generated within the SAS studio environment?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can upload and download files (code files, datasets, text files, etc).&amp;nbsp; You just have to use the point and click interface in your browser to do it.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 20:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Permanent-library-to-my-local-drive-in-SAS-Studio/m-p/824485#M551</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-07-20T20:18:00Z</dc:date>
    </item>
  </channel>
</rss>

