<?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 No files in libary in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731853#M9915</link>
    <description>&lt;P&gt;I am doing the&amp;nbsp;SAS Programming 1: Essentials course. For some reason no files apear in the pg library when i make it. The files are on my computer and i can access them in SAS from the same location by "proc import". I create the library by libname pg "myfolder\EPG1V2\data"; and it goes through in the log with no errors. No data is in the library however. I hope you can help, it is super frustrating.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 11:10:46 GMT</pubDate>
    <dc:creator>HamDerMathias</dc:creator>
    <dc:date>2021-04-07T11:10:46Z</dc:date>
    <item>
      <title>No files in libary</title>
      <link>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731853#M9915</link>
      <description>&lt;P&gt;I am doing the&amp;nbsp;SAS Programming 1: Essentials course. For some reason no files apear in the pg library when i make it. The files are on my computer and i can access them in SAS from the same location by "proc import". I create the library by libname pg "myfolder\EPG1V2\data"; and it goes through in the log with no errors. No data is in the library however. I hope you can help, it is super frustrating.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 11:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731853#M9915</guid>
      <dc:creator>HamDerMathias</dc:creator>
      <dc:date>2021-04-07T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: No files in libary</title>
      <link>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731867#M9917</link>
      <description>&lt;P&gt;The fact that you can access them with PROC IMPORT means that they are not yet SAS datasets. Via a defined library, only SAS files (datasets, views, catalogs) can be accessed.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 11:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731867#M9917</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-07T11:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: No files in libary</title>
      <link>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731873#M9918</link>
      <description>&lt;P&gt;They are .sas .csv .xlsx .json .txt and .dat files. I followed the instructions from the lesson 2 in essentials:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Follow the steps for the software you are using to assign a library named&amp;nbsp;&lt;STRONG&gt;PG1&lt;/STRONG&gt;&amp;nbsp;that reads the SAS tables for this course.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SAS Studio&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Select&amp;nbsp;&lt;STRONG&gt;New &amp;gt; SAS Program&lt;/STRONG&gt;&amp;nbsp;or press F4 to open a new program window.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Copy the code shown below and paste it into the&amp;nbsp;&lt;STRONG&gt;Code&lt;/STRONG&gt;&amp;nbsp;tab. Replace FILEPATH with the full path to your&lt;STRONG&gt;&amp;nbsp;EPG1V2/data&lt;/STRONG&gt;&amp;nbsp;folder in SAS Studio. If you don't know the path, open the Files and Folders panel, and expand&amp;nbsp;&lt;STRONG&gt;EPG1V2&lt;/STRONG&gt;. Right-click the&amp;nbsp;&lt;STRONG&gt;data&lt;/STRONG&gt;&amp;nbsp;folder and select&amp;nbsp;&lt;STRONG&gt;Properties&lt;/STRONG&gt;. You can copy the path from the&amp;nbsp;&lt;STRONG&gt;Location&lt;/STRONG&gt;&amp;nbsp;box.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;&lt;EM&gt;Run the code and check the log. You should see a note in the log that says the Libref PG1 was successfully assigned with information about the engine and physical name.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Select the&amp;nbsp;&lt;STRONG&gt;Code&lt;/STRONG&gt;&amp;nbsp;tab and click&amp;nbsp;&lt;STRONG&gt;Save Program&lt;/STRONG&gt;.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;For&amp;nbsp;&lt;STRONG&gt;Location&lt;/STRONG&gt;, select the&amp;nbsp;&lt;STRONG&gt;EPG1V2&lt;/STRONG&gt;&amp;nbsp;folder. Name the program&lt;STRONG&gt;&amp;nbsp;libname.sas&lt;/STRONG&gt;&amp;nbsp;and click&amp;nbsp;&lt;STRONG&gt;Save&lt;/STRONG&gt;. Replace the file if it already exists.&lt;/EM&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM&gt;SAS Enterprise Guide&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;In the Project Tree, select&amp;nbsp;&lt;STRONG&gt;Autoexec&lt;/STRONG&gt;&amp;nbsp;to make it the active process flow. Select&amp;nbsp;&lt;STRONG&gt;File &amp;gt; New &amp;gt; Program&lt;/STRONG&gt;&amp;nbsp;to open a new program window.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;In the code shown below,&amp;nbsp;&lt;STRONG&gt;&amp;amp;path&lt;/STRONG&gt;&amp;nbsp;is a macro variable that provides the path to a temporary location where you can store files. This macro variable was created when you set up your course files and is created each time you run the Autoexec process flow. You will learn more about macro variables later in this course. The path that this macro variable stores is the path to a temporary folder on the server. We use this temporary folder because it works in all SAS Enterprise Guide environments.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;libname pg1 "&amp;amp;path";&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Copy the LIBNAME statement into the Program window. Run the code and check the log. You should see a note that the libref PG1 refers the same physical library as Work and a note that the libref PG1 was successfully assigned.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;EM&gt;In the Project Tree, right click the Program icon and select&amp;nbsp;&lt;STRONG&gt;Rename&lt;/STRONG&gt;. Type&amp;nbsp;&lt;STRONG&gt;libname.sas&lt;/STRONG&gt;&amp;nbsp;and press&amp;nbsp;&lt;STRONG&gt;Enter&lt;/STRONG&gt;.&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Select&amp;nbsp;&lt;STRONG&gt;File &amp;gt; Save Project&lt;/STRONG&gt;."&lt;/EM&gt;&lt;BR /&gt;"&lt;BR /&gt;But the files somehow dont appear in the library. I don't know if this help to understand my problem? Or how to possibly solve it. Thanks for the quick reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 12:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731873#M9918</guid>
      <dc:creator>HamDerMathias</dc:creator>
      <dc:date>2021-04-07T12:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: No files in libary</title>
      <link>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731877#M9920</link>
      <description>&lt;P&gt;In order to see SAS datasets in a library, you have to populate the library. Importing external data into SAS is part of the Programming 1 course.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 12:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731877#M9920</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-07T12:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: No files in libary</title>
      <link>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731923#M9921</link>
      <description>When you ran the code you copy and pasted including the libname, were there errors in the log?&lt;BR /&gt;&lt;BR /&gt;Copy the code shown below and paste it into the Code tab. Replace FILEPATH with the full path to your EPG1V2/data folder in SAS Studio. If you don't know the path, open the Files and Folders panel, and expand EPG1V2. Right-click the data folder and select Properties. You can copy the path from the Location box.</description>
      <pubDate>Wed, 07 Apr 2021 14:17:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731923#M9921</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-04-07T14:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: No files in libary</title>
      <link>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731948#M9922</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Our e-learning course has instructions, inside the course for how to make the data. Here's what the screen looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1617801846991.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57045iBCC051E21770A67E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1617801846991.png" alt="Cynthia_sas_0-1617801846991.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; I'm confused by the instructions you pasted because they don't look like the instructions we have for SAS University Edition or for Enterprise Guide. As you can see, we have a separate set of instructions for both SAS University Edition and SAS Enterprise Guide AND all the other interface methods that a student might use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Can you explain how you're using SAS? Did you run the data creation program? Did someone revise the instructions for Programming 1? Are you taking a version of Programming 1 from a professor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Your use of "myfolders" indicates that you might be using SAS University Edition in a Virtual Machine. If so, your top node in SAS Studio when you go to Server Files and Folders should be &lt;STRONG&gt;My Folders&lt;/STRONG&gt;. That means the physical path name for your class data would be:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/folders/myfolders/EPG1V2/data&lt;/STRONG&gt; and that means your LIBNAME statement would be:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname PG1 '&lt;FONT color="#FF00FF"&gt;/folders/myfolders&lt;/FONT&gt;&lt;FONT color="#008000"&gt;/EPG1V2/data&lt;/FONT&gt;';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can ALWAYS verify this location by following the instructions and going to the &lt;STRONG&gt;Server Files and Folders&lt;/STRONG&gt; pane, expand the &lt;STRONG&gt;EPG1V2&lt;/STRONG&gt; folder under the top node and then right click on the &lt;STRONG&gt;data&lt;/STRONG&gt; subfolder and choose &lt;STRONG&gt;Properties&lt;/STRONG&gt;. If you followed the instructions inside our class correctly, then the Location field should show you the correct full path you need for a LIBNAME statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The zip file we provide does come with some files already created. But most of the files that you need for the course are created by the data setup program. So you need to run that program to successfully make all the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Remember that the SAS LIBNAME statement is meant to point to SAS proprietary files with the file extension of .sas7bdat -- so after you issue your LIBNAME statement, your PG1 library will show you ONLY the SAS files in the library. On the other hand, the Server Files and Folders pane should show you ALL the files in the class &lt;STRONG&gt;EPG1V2/data&lt;/STRONG&gt; folder. For example, if you need to read one of the XLSX files, such as the &lt;STRONG&gt;np_info.xlsx&lt;/STRONG&gt; file or the &lt;STRONG&gt;storm.xlsx&lt;/STRONG&gt; file -- then you should find the XLSX and other files in the &lt;STRONG&gt;data&lt;/STRONG&gt; subfolder AFTER you run the data creation program. Assuming that the path to your data folder is:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/folders/myfolders/EPG1V2/data&lt;/STRONG&gt; then the path for PROC IMPORT would be:&lt;/P&gt;
&lt;P&gt;datafile=&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;'/folders/myfolders&lt;/FONT&gt;&lt;FONT color="#008000"&gt;/EPG1V2/data&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;/np_info.xlsx'&lt;/FONT&gt;&lt;/STRONG&gt; or&lt;/P&gt;
&lt;P&gt;datafile=&lt;STRONG&gt;'&lt;FONT color="#FF00FF"&gt;/folders/myfolders&lt;/FONT&gt;&lt;FONT color="#008000"&gt;/EPG1V2/data&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;/storm.xlsx' &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Hope this helps,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Cynthia&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;This video shows how to make the data for the Programming 1 class using SAS University Edition in a Virtual Machine: &lt;A href="https://www.youtube.com/watch?v=5vfd_jt8ttc" target="_blank"&gt;https://www.youtube.com/watch?v=5vfd_jt8ttc&lt;/A&gt; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 15:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/No-files-in-libary/m-p/731948#M9922</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-04-07T15:07:59Z</dc:date>
    </item>
  </channel>
</rss>

