<?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: Accessing Excel files in SAS University Editiion in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253284#M48166</link>
    <description>&lt;P&gt;The first SAS e-course is free, you may want to take that for a step by step walk through of getting started with SAS. It is also designed for SAS UE, so that will help avoid technical difficulties.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc import -&amp;gt; imports data. The specifics actually vary depending on the type of data, so its worth reading the documentation on the procdure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One good thing to learn, is how to navigate the documentation, because a lot of the questions you're going to have will have the answers there.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Feb 2016 20:57:10 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-02-29T20:57:10Z</dc:date>
    <item>
      <title>Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253266#M48153</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS University Edition and I am taking SAS essentials course from the SAS website. However, in the tutorials PCfiles engine is used to access MS Excel files, which I cannot use in University edition. Can anyone suggest an alternate way to access Excel files in SAS University Edition? Also want to know if I can still continue with the same tutorial using the University Edition without using PCfiles engine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 20:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253266#M48153</guid>
      <dc:creator>swatipawar</dc:creator>
      <dc:date>2016-02-29T20:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253268#M48154</link>
      <description>&lt;P&gt;You can't use libname methods, but you can use standard proc import methods.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think it makes an impact on the learning besides how to read the data. Once the data is in, it doesn't matter much how you got it there, the steps afterward would be the same.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 20:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253268#M48154</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-29T20:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253271#M48155</link>
      <description>Hi:&lt;BR /&gt;  Please carefully review the instructions in the Lesson on reading Excel files. Students are specifically told that they cannot use the LIBNAME engine for Excel and asked to WRITE the code for the practice, but not to SUBMIT the code. We know that there are students on many different interfaces who will not have the right mix of files to use the LIBNAME engine for Excel. The instructions in the class specifically tell you to study the syntax, but not to submit the code.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 29 Feb 2016 20:22:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253271#M48155</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-02-29T20:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253272#M48156</link>
      <description>&lt;P&gt;Thanks for your quick reply Reeza. I entered the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;/** Import an XLSX file. **/&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;PROC IMPORT DATAFILE="/folders/myshortcuts/Myfolder/Sales.xlsx"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;OUT=WORK.MYEXCEL&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;DBMS=XLSX&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;REPLACE;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;Proc contents data=sales._all_;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;data work.salesnew;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;PROC PRINT DATA=WORK.salesnew label; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;RUN;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;However I am getting the error that &lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Libref Sales is not assigned&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Swati&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 20:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253272#M48156</guid>
      <dc:creator>swatipawar</dc:creator>
      <dc:date>2016-02-29T20:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253275#M48158</link>
      <description>Hi,&lt;BR /&gt;you did not define a LIBREF for sales in your posted code. You are making WORK.MYEXCEL from the sales.xlsx file import. So, your proc contents should be:&lt;BR /&gt;&lt;BR /&gt;proc contents data=work.myexcel;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Then, you have a DATA step to create work.salesnew, but you do NOT have a SET statement, so you are not really creating anything. I assume you want to create work.salesnew from the work.myexcel file. One option is to replace work.myexcel with work.salesnew in the PROC IMPORT step or the other option is to alter the DATA step program:&lt;BR /&gt;&lt;BR /&gt;data work.salesnew;&lt;BR /&gt;  set work.myexcel;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;then your PROC PRINT will make sense:&lt;BR /&gt;proc print data=work.salesnew label;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;(It looks like you copied your PROC CONTENTS step from a previous example that uses the LIBNAME engine. And that will not work.)&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 29 Feb 2016 20:31:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253275#M48158</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-02-29T20:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253281#M48163</link>
      <description>Thank you Cynthia. Basically I am new with SAS and have no idea how Proc Import statement work. I watched one youtube video and there I found this option. Can you please explain how the proc import statement works.&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Feb 2016 20:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253281#M48163</guid>
      <dc:creator>swatipawar</dc:creator>
      <dc:date>2016-02-29T20:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253284#M48166</link>
      <description>&lt;P&gt;The first SAS e-course is free, you may want to take that for a step by step walk through of getting started with SAS. It is also designed for SAS UE, so that will help avoid technical difficulties.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc import -&amp;gt; imports data. The specifics actually vary depending on the type of data, so its worth reading the documentation on the procdure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One good thing to learn, is how to navigate the documentation, because a lot of the questions you're going to have will have the answers there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 20:57:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253284#M48166</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-29T20:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Excel files in SAS University Editiion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253287#M48168</link>
      <description>Thanks Cynthia.</description>
      <pubDate>Mon, 29 Feb 2016 21:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Accessing-Excel-files-in-SAS-University-Editiion/m-p/253287#M48168</guid>
      <dc:creator>swatipawar</dc:creator>
      <dc:date>2016-02-29T21:01:45Z</dc:date>
    </item>
  </channel>
</rss>

