<?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: Programming1 setting up practice files - libname error in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/548013#M282</link>
    <description>Hi:&lt;BR /&gt;  You must have SAS 9.4 Maintenance release 2 or higher in order to use the XLSX libname engine. You did not post your version of SAS. It should be at the top of the setinit results.&lt;BR /&gt;Cynthia</description>
    <pubDate>Tue, 02 Apr 2019 19:06:43 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-04-02T19:06:43Z</dc:date>
    <item>
      <title>Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547931#M278</link>
      <description>&lt;P&gt;When running _2egpg194 I am getting the following error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The XLSX engine cannot be found.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using&amp;nbsp;SAS version information: 9.3_M2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547931#M278</guid>
      <dc:creator>DG1984</dc:creator>
      <dc:date>2019-04-02T15:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547938#M279</link>
      <description>&lt;P&gt;I don't remember exactly when the XLSX engine was added but I think your version of SAS is recent enough.&lt;/P&gt;
&lt;P&gt;Run this code:&lt;/P&gt;
&lt;PRE&gt;proc setinit;run;&lt;/PRE&gt;
&lt;P&gt;If the log does not contain a line similar to:&lt;/P&gt;
&lt;PRE&gt;---SAS/ACCESS Interface to PC Files
&lt;/PRE&gt;
&lt;P&gt;then your license does not support the library type and you need a license that has the Interface to PC Files.&lt;/P&gt;
&lt;P&gt;If it does show that line then run this:&lt;/P&gt;
&lt;PRE&gt;proc product_status;run;&lt;/PRE&gt;
&lt;P&gt;If the log does not show something similar to:&lt;/P&gt;
&lt;PRE&gt;For SAS/ACCESS Interface to PC Files ...
&lt;/PRE&gt;
&lt;P&gt;then you have a license but the module was not installed. Reinstall SAS and make sure the ACCESS Interface to PC Files is included.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547938#M279</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-02T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547940#M280</link>
      <description>&lt;P&gt;Thank you, I have run the below codes and I can confirm SAS/Access interface to PC files in installed and I have a licence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:00:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547940#M280</guid>
      <dc:creator>DG1984</dc:creator>
      <dc:date>2019-04-02T16:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547952#M281</link>
      <description>&lt;P&gt;From the log copy the LIBNAME statement as submitted along with any messages.&lt;/P&gt;
&lt;P&gt;Paste into a code box opened with the forum's {I} or "running man" icon.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:27:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/547952#M281</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-04-02T16:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/548013#M282</link>
      <description>Hi:&lt;BR /&gt;  You must have SAS 9.4 Maintenance release 2 or higher in order to use the XLSX libname engine. You did not post your version of SAS. It should be at the top of the setinit results.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 02 Apr 2019 19:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/548013#M282</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-04-02T19:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/548285#M288</link>
      <description>Ah, I'm sorry, I just saw your posting that you are using SAS 9.3 -- and unfortunately, the XLSX Libname engine was not available in SAS 9.3. You'll need to either switch to one of the free methods of using SAS (SAS University Edition or SAS OnDemand for Academics) or you'll need to see when your site is going to upgrade to the current release.&lt;BR /&gt;&lt;BR /&gt;Without access to the XLSX Libname engine, working in the course will be very, very hard for you.&lt;BR /&gt;&lt;BR /&gt;You'd only be able to have hands-on practice with any activities or practices that did NOT use the XLSX Libname engine. And, also, the bigger issue is that without the XLSX Libname engine, you'll have issues creating the data used in the course.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 03 Apr 2019 17:35:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/548285#M288</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-04-03T17:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552246#M292</link>
      <description>&lt;P&gt;"The Dopen command default to device number eight if out put device is not specified"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 18:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552246#M292</guid>
      <dc:creator>RiverRoth</dc:creator>
      <dc:date>2019-04-18T18:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552382#M293</link>
      <description>Hi:&lt;BR /&gt;I don't understand the message you've posted. Can you provide a bit more context about how and when you got this error? Was it while you were setting up the files? Were you using Enterprise Guide? I am not sure how/when you got this error and need some more background.&lt;BR /&gt;Thanks, Cynthia</description>
      <pubDate>Fri, 19 Apr 2019 02:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552382#M293</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-04-19T02:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552755#M294</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;Quick question: Does the zip folder for SAS Enterprise Guide contain the storm.xlsx file? When running the first section of demo file, it states&amp;nbsp;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/FILEPATH//storm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Section 1:&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;*;&lt;/P&gt;&lt;P&gt;options validvarname&lt;SPAN&gt;=v7;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ods graphics on&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;import&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;datafile&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;"FILEPATH/storm.xlsx"&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dbms&lt;/SPAN&gt;=xlsx &lt;SPAN&gt;out&lt;/SPAN&gt;=storm_damage &lt;SPAN&gt;replace&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sheet&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;"Storm_Damage"&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 05:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552755#M294</guid>
      <dc:creator>iamash</dc:creator>
      <dc:date>2019-04-22T05:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552813#M295</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/258478"&gt;@iamash&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes the file should exist as long as everything is set up correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However a quick glance at your code and I think I see the issue. In your PROC IMPORT you have datafile="FILEPATH/storm.xlsx".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try opening up the &lt;STRONG&gt;p101d01.sas&lt;/STRONG&gt; instead of &lt;STRONG&gt;ep101d01.sas&lt;/STRONG&gt;. It will look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=v7;
ods graphics on;

*Path is assigned in the cre8data.sas program;
*%let path=s:/workshop;

libname pg1 base "&amp;amp;path/data";

proc import datafile="&amp;amp;path/data/storm.xlsx" 
			dbms=xlsx out=storm_damage replace;
	sheet="Storm_Damage";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The &lt;STRONG&gt;&amp;amp;path&lt;/STRONG&gt; is what's called a macro variable and it is created during course setup. It stores the location of where all the files located. So datafile="&amp;amp;path/data/storm.xlsx" is telling SAS where the Excel workbook is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this and let us know. Again the data must be set up correctly for Enterprise Guide. For more information on how to set up data for the course you can check out these videos&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-access-data-for-SAS-Programming-1-course/ta-p/494585" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-access-data-for-SAS-Programming-1-course/ta-p/494585&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 12:44:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/552813#M295</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2019-04-22T12:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/553040#M296</link>
      <description>I Have never heard of a file by that name i have heard of a drive and if&lt;BR /&gt;the file is not literally on the saved files then you can have it when&lt;BR /&gt;running correct. So if your running storm which is a generator / engine out&lt;BR /&gt;source then you need facts hard files to form data right.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Apr 2019 20:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/553040#M296</guid>
      <dc:creator>RiverRoth</dc:creator>
      <dc:date>2019-04-22T20:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/553521#M297</link>
      <description>Hello Peter,&lt;BR /&gt;Thank you so much for the guidance and further explanation of how the &amp;amp;path&lt;BR /&gt;works. The video was very helpful. I will definitely be participating in&lt;BR /&gt;the SAS community forums from now on!&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Apr 2019 05:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/553521#M297</guid>
      <dc:creator>iamash</dc:creator>
      <dc:date>2019-04-24T05:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/554235#M298</link>
      <description>&lt;P&gt;No problem! Glad everything worked out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep us posted if you have any other questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Peter&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 12:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/554235#M298</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2019-04-26T12:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Programming1 setting up practice files - libname error</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/554236#M299</link>
      <description>&lt;P&gt;I'm a bit confused with your post.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 12:56:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming1-setting-up-practice-files-libname-error/m-p/554236#M299</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2019-04-26T12:56:57Z</dc:date>
    </item>
  </channel>
</rss>

