<?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: Trying to create a library to read Excel files in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/692301#M9447</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF00FF"&gt;&lt;STRONG&gt;&amp;nbsp; S:\workshop\data&lt;/STRONG&gt;&lt;/FONT&gt; is the path we use in our classroom lab machines or in our Live Web labs. Some of the course videos in Programming 1 do show this path. However, the intention is for the student to replace the &lt;FONT face="courier new,courier" color="#FF00FF"&gt;&lt;STRONG&gt;s:\workshop\data&lt;/STRONG&gt;&lt;/FONT&gt; portion of the path with &lt;U&gt;&lt;STRONG&gt;THEIR&lt;/STRONG&gt;&lt;/U&gt; location for the class data. Typically this will be something like one of the following examples (depending on how you are using SAS and what set of directions you followed to make the data):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** Option 1&amp;nbsp; for Data path in the class videos;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;s:\workshop\data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;s:\workshop\data&lt;/FONT&gt;\storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** Option 2 for Data path in the class videos (some classes do not have a data subfolder);&lt;BR /&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;s:\workshop&lt;/FONT&gt;';&lt;BR /&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;s:\workshop\&lt;/FONT&gt;storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS OnDemand for Academics;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;userID&amp;gt;/EGP1V2/data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;userID&amp;gt;/EGP1V2/data&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS University Edition in a Virtual Machine;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;/folders/myfolders/EGP1V2/&lt;/FONT&gt;data';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;/folders/myfolders/EGP1V2/data&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS in a local installation on your C: drive;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;c:\SAS_class\EGP1V2\data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;c:\SAS_class\EGP1V2\data&lt;/FONT&gt;\storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS on a Unix server;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;/usr/xxxyyy/class/EGP1V2/data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;/usr/xxxyyy/class/EGP1V2/data&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS Enterprise Guide without write access to a C: drive;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** (creation program makes all data in the WORK location);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** &amp;amp;path macro variable holds WORK path -- macro variable created by autoexec;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 "&lt;FONT color="#FF00FF"&gt;&amp;amp;path&lt;/FONT&gt;";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;&amp;amp;path&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;If you are currently in a class using one of our classroom lab machines with an S: drive, then please work with your instructor on figuring out why your data path is not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using the e-learning class and skipped over the Course Overview and Data Setup section of the course, then please go back to that section (above Lesson 1 in the Table of Contents -- with the word "REQUIRED" next to it) and follow the instructions to make the data for your method of using SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Sat, 17 Oct 2020 16:23:28 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2020-10-17T16:23:28Z</dc:date>
    <item>
      <title>Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/602532#M8252</link>
      <description>&lt;P&gt;I have a problem with creating a library to read and access Excel files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the instruction, I have to first create a library to access and read Excel files. The statements to create the intended library is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;*complete the OPTIONS statement;&lt;BR /&gt;options validvarname=v7;&lt;BR /&gt;&lt;BR /&gt;*complete the LIBNAME statement;&lt;BR /&gt;libname xlstorm xlsx "s:/workshop/data/storm.xlsx";&lt;/PRE&gt;&lt;P&gt;Running this gives this message:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 *complete the OPTIONS statement;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 options validvarname=v7;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 *complete the LIBNAME statement;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 libname xlstorm xlsx "s:/workshop/data/storm.xlsx";&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Libref XLSTORM&lt;FONT color="#3366FF"&gt; was successfully assigned as follows:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Engine: XLSX&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Physical Name: s:/workshop/data/storm.xlsx&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Then, I run the full statement:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;PRE&gt;*complete the OPTIONS statement;&lt;BR /&gt;options validvarname=v7;&lt;BR /&gt;&lt;BR /&gt;*complete the LIBNAME statement;&lt;BR /&gt;libname xlstorm xlsx "s:/workshop/data/storm.xlsx";&lt;BR /&gt;*complete the DATA=option to reference the STORM_SUMMARY worksheet;&lt;BR /&gt;proc contents data=xlstorm.storm_summary;&lt;BR /&gt;run;&lt;BR /&gt;*clear the xlstorm library;&lt;BR /&gt;libname xlstore clear;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Opposite to the instructor's result- which is a nice table, mine gives me this message:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;DIV class="sasSource"&gt;78 *complete the DATA=option to reference the STORM_SUMMARY worksheet;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 proc contents data=xlstorm.storm_summary;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#FF0000"&gt;ERROR: File XLSTORM.storm_summary.DATA does not exist.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;80 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Statements not processed because of errors noted above.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;81 *clear the xlstorm library;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82 libname xlstore clear;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Libref XLSTORE is not assigned.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;83&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;84 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;97&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;What is wrong with my activity while the library was created/assigned at the first step?&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Looking for quick help.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Thanks&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Nov 2019 18:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/602532#M8252</guid>
      <dc:creator>Esmatullah</dc:creator>
      <dc:date>2019-11-07T18:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/602538#M8253</link>
      <description>&lt;P&gt;The note says that &lt;FONT color="#FF0000"&gt;storm_summary&lt;/FONT&gt; doesn't exist in the library, i.e. in your excel workbook.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If storm_summary is a worksheet name, the syntax to read it as a dataset is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xlstorm.'storm_summary$'n&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 18:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/602538#M8253</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-11-07T18:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/602539#M8254</link>
      <description>&lt;P&gt;To see what exists in the workbook use _ALL_ as the memname in the PROC CONTENTS code.&amp;nbsp; That will show the variables for every dataset (worksheet) in the file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=xlstorm._all_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that when you define the libref using the LIBNAME statement SAS does not know whether your intention is to READ from that file or write to that file.&amp;nbsp; So if the file does not exist the LIBNAME statement will work fine.&amp;nbsp; But then trying to get the contents of the file you haven't written anything into yet will fail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure the file you want to access actually is in that directory on the machine where SAS is running (NOT on the machine where the browser you are using to access the SAS/Studio.)&amp;nbsp; Note that the S drive on the SAS server might not be the same location as the S drive on the machine that is accessing SAS/Studio.&amp;nbsp; So if S: is mapped to some network share (like \\servername\sharename\) you might want to use that instead of the S: in the path.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 18:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/602539#M8254</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-07T18:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/692235#M9445</link>
      <description>&lt;P&gt;Neither response is useful. I am facing the same problem literally in similar circumstances. Trying to run an activity in the course work to replicate results displayed in the video. After running the code, the library is actually assigned, but not a single worksheet from the workbook was distributed into it. The message error came from the proc contents part of the code, because the worksheet it is trying to assess actually does not exist in the concerned library. The question is: how can the library be properly assigned and the worksheets not distributed, when the Excel spreadsheet actually exists and the log did not return a "File not found" or "File does not exist" error message? That's the crux of the question that needs to be addressed.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 20:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/692235#M9445</guid>
      <dc:creator>maximedesse</dc:creator>
      <dc:date>2020-10-16T20:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/692237#M9446</link>
      <description>&lt;P&gt;I answered that question already.&lt;/P&gt;
&lt;P&gt;To syntax you use to make a libref to read from an existing file is exactly the same as you would use to create a new file.&lt;/P&gt;
&lt;P&gt;So you can code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname x xlsx 'somefile.xlsx';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And if somefile.xlsx does not exist the LIBNAME statement will NOT generate any error.&lt;/P&gt;
&lt;P&gt;But if you then try to see what is in your library:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=x._all_; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You will get an error since there is nothing in that XLSX file yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So it sounds like the filename you are using is not the right filename.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you are using SAS/Studio you can use the Server Files and Folder tab in the SAS/Studio interface to find where the file you want to read is. Right click on the filename there and select Properties and you will see the filename you need to use in your SAS code to reference that file in your SAS code.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 21:11:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/692237#M9446</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-10-16T21:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/692301#M9447</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF00FF"&gt;&lt;STRONG&gt;&amp;nbsp; S:\workshop\data&lt;/STRONG&gt;&lt;/FONT&gt; is the path we use in our classroom lab machines or in our Live Web labs. Some of the course videos in Programming 1 do show this path. However, the intention is for the student to replace the &lt;FONT face="courier new,courier" color="#FF00FF"&gt;&lt;STRONG&gt;s:\workshop\data&lt;/STRONG&gt;&lt;/FONT&gt; portion of the path with &lt;U&gt;&lt;STRONG&gt;THEIR&lt;/STRONG&gt;&lt;/U&gt; location for the class data. Typically this will be something like one of the following examples (depending on how you are using SAS and what set of directions you followed to make the data):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** Option 1&amp;nbsp; for Data path in the class videos;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;s:\workshop\data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;s:\workshop\data&lt;/FONT&gt;\storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** Option 2 for Data path in the class videos (some classes do not have a data subfolder);&lt;BR /&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;s:\workshop&lt;/FONT&gt;';&lt;BR /&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;s:\workshop\&lt;/FONT&gt;storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS OnDemand for Academics;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;userID&amp;gt;/EGP1V2/data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;/home/&amp;lt;userID&amp;gt;/EGP1V2/data&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS University Edition in a Virtual Machine;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;/folders/myfolders/EGP1V2/&lt;/FONT&gt;data';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;/folders/myfolders/EGP1V2/data&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS in a local installation on your C: drive;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;c:\SAS_class\EGP1V2\data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;c:\SAS_class\EGP1V2\data&lt;/FONT&gt;\storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS on a Unix server;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 '&lt;FONT color="#FF00FF"&gt;/usr/xxxyyy/class/EGP1V2/data&lt;/FONT&gt;';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;/usr/xxxyyy/class/EGP1V2/data&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** SAS Enterprise Guide without write access to a C: drive;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** (creation program makes all data in the WORK location);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;** &amp;amp;path macro variable holds WORK path -- macro variable created by autoexec;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname pg1 "&lt;FONT color="#FF00FF"&gt;&amp;amp;path&lt;/FONT&gt;";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname xlstorm xlsx "&lt;FONT color="#FF00FF"&gt;&amp;amp;path&lt;/FONT&gt;/storm.xlsx";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;If you are currently in a class using one of our classroom lab machines with an S: drive, then please work with your instructor on figuring out why your data path is not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using the e-learning class and skipped over the Course Overview and Data Setup section of the course, then please go back to that section (above Lesson 1 in the Table of Contents -- with the word "REQUIRED" next to it) and follow the instructions to make the data for your method of using SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 16:23:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/692301#M9447</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-10-17T16:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811879#M10432</link>
      <description>&lt;P&gt;This unfortunately did not help with this issue. I have tried running the syntax using the correct location for storm.xlsx (I obtained the location directly from the file properties in SAS studio). I am still getting a library with no contents/tables.&amp;nbsp;&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>Fri, 06 May 2022 14:57:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811879#M10432</guid>
      <dc:creator>Srygl1sl</dc:creator>
      <dc:date>2022-05-06T14:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811890#M10433</link>
      <description>Hi:&lt;BR /&gt;  There are 2 possibilities that I can think of:&lt;BR /&gt;1) you are using SAS through a corporate or school license and the setup program did not create the class XLSX files because your copy of SAS does not have the right SAS/Access engine for making XLSX file.&lt;BR /&gt;2) something is still wrong with your libname statement.&lt;BR /&gt;&lt;BR /&gt;  What is your interface to SAS: SAS Studio? SAS on Windows? SAS Enterprise Guide? Are you using SAS OnDemand for Academics? &lt;BR /&gt;&lt;BR /&gt;  Did you successfully run the data creation program following the class instructions? Can you see the storm.xlsx file under the data folder for class? What is the EXACT syntax that you submitted?  Were there error messages in the SAS log? If you continue to have issues that you can't resolve, then I recommend that you send a screen shot of your log messages to elearn@sas.com and explain to them how you are using SAS and whether the data setup program worked correctly.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 06 May 2022 15:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811890#M10433</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-05-06T15:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811892#M10434</link>
      <description>I do see Storm.xlsx under the EPG194/data folder. I am using SAS studio&lt;BR /&gt;within SAS OnDemand for Academics. I used the path/location directly&lt;BR /&gt;provided by the "properties" for Storm.xlsx in SAS Studio.&lt;BR /&gt;&lt;BR /&gt;There were no error messages in my log. The syntax I used is below.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;option validvarname=v7;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;libname xlstorm XLSX "/home/U40384536/EPG194/data/storm.xlsx";&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 May 2022 15:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811892#M10434</guid>
      <dc:creator>Srygl1sl</dc:creator>
      <dc:date>2022-05-06T15:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811899#M10435</link>
      <description>&lt;P&gt;Are you perfectly sure your username starts with a capital "U"? All the usernames I've seen so far are lowercase.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 16:40:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811899#M10435</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-05-06T16:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811903#M10436</link>
      <description>&lt;P&gt;By George, Kurt- you solved it!&amp;nbsp; I had no idea it would be case sensitive&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 16:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811903#M10436</guid>
      <dc:creator>Srygl1sl</dc:creator>
      <dc:date>2022-05-06T16:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811912#M10437</link>
      <description>Hi:&lt;BR /&gt;  Are you sure that your userID starts with a capital U??? Most of the userIDs that I've seen on the OnDemand server start with a lowercase u. SAS OnDemand is a Linux-based system, so any type of spelling error or incorrect case would cause an error. Can you check the Properties of your Files(Home) location and double check the userID.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 06 May 2022 17:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811912#M10437</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-05-06T17:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a library to read Excel files</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811935#M10438</link>
      <description>&lt;P&gt;Case sensitivity is one of the most important features of UNIX systems. Files aaa and AAA can coexist in the same location.&lt;/P&gt;
&lt;P&gt;This plays an important role for SAS. SAS files (datasets, views, catalogs, etc) must always have all-lowercase names, or they won't work.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 19:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Trying-to-create-a-library-to-read-Excel-files/m-p/811935#M10438</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-05-06T19:51:39Z</dc:date>
    </item>
  </channel>
</rss>

