<?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 Data Set --- newbie question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326469#M72693</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/124588"&gt;@GrizzlyDee&lt;/a&gt;&amp;nbsp;This reads like homework. Do you have a specific issue that you need help with instead of posting your assignment?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS video tutorials are here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/training/tutorial/" target="_blank"&gt;http://support.sas.com/training/tutorial/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first programming course is free and on the bottom right hand side of the page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tons of SAS tutorials with code samples&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a specific topic in mind try searching on Lexjansen.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jan 2017 03:25:30 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-01-21T03:25:30Z</dc:date>
    <item>
      <title>Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326454#M72683</link>
      <description>&lt;P&gt;You are faced with the task of saving an Excel xlsx file as a permanent data set after uploading to SAS Studio, then using proc contents to view the contents of the Excel file and proc freq to find the frequency in which a specific variable appears in the file. What does your basic program look like?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 00:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326454#M72683</guid>
      <dc:creator>GrizzlyDee</dc:creator>
      <dc:date>2017-01-21T00:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326459#M72685</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; You cannot use the LIBNAME engine to run PROC CONTENTS directly on the XLSX file when you are using SAS Studio and SAS University Edition.&lt;BR /&gt;&lt;BR /&gt; So, in brief, I would:&lt;BR /&gt;1) upload the XLSX file to a SAS Studio folder&lt;BR /&gt;2) run PROC IMPORT on the XLSX file using DBMS=XLSX to create a SAS dataset&lt;BR /&gt;3) run PROC CONTENTS on the SAS dataset from #2 (NOT the XLSX file from #1)&lt;BR /&gt;4) Run PROC FREQ on the datatset from #2 using the TABLE statement for my variable and specifying options like NOCUM, NOPERCENT, as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding #2, I would test my PROC IMPORT step by creating a WORK dataset first, then once I knew that the IMPORT was correct, I would issue a LIBNAME statement to a folder on the University Edition like:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname myperm '/folders/myfolders/keepdata';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I would run PROC IMPORT using a 2-level name to save the SAS version of the XLSX file to this permanent library.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 01:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326459#M72685</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-21T01:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326462#M72687</link>
      <description>Give a basic template of what that statement would look like...&lt;BR /&gt;&lt;BR /&gt;proc import data= .....&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Sat, 21 Jan 2017 02:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326462#M72687</guid>
      <dc:creator>GrizzlyDee</dc:creator>
      <dc:date>2017-01-21T02:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326469#M72693</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/124588"&gt;@GrizzlyDee&lt;/a&gt;&amp;nbsp;This reads like homework. Do you have a specific issue that you need help with instead of posting your assignment?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS video tutorials are here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/training/tutorial/" target="_blank"&gt;http://support.sas.com/training/tutorial/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first programming course is free and on the bottom right hand side of the page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tons of SAS tutorials with code samples&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a specific topic in mind try searching on Lexjansen.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 03:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326469#M72693</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-21T03:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326500#M72716</link>
      <description>Hi:&lt;BR /&gt;  If you are using SAS Studio, there is a TASK that contains the basic template. The videos to which Reeza referred show you how to use TASKS (and SNIPPETS) to perform tasks. There is even a video on how to import an Excel file here, in the Forums on the top of the SAS Analytics U section:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Analytics-U/bd-p/sas_analytics_u" target="_blank"&gt;https://communities.sas.com/t5/SAS-Analytics-U/bd-p/sas_analytics_u&lt;/A&gt; -- all of these resources are available and have been available to you.&lt;BR /&gt;&lt;BR /&gt;With some research, you could have found the answers to these questions already available. Many of these answers have been available for several years, posted previously, here in the Forums.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Sat, 21 Jan 2017 13:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326500#M72716</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-21T13:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326548#M72735</link>
      <description>Why use proc import to create the permanent data set if the xlsx file is&lt;BR /&gt;already uploaded to Sas Studio?&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Sun, 22 Jan 2017 04:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326548#M72735</guid>
      <dc:creator>GrizzlyDee</dc:creator>
      <dc:date>2017-01-22T04:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326568#M72744</link>
      <description>&lt;P&gt;Uploading a dataset is merely storing it in a drive that SAS can access.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind of like uploading a file to Dropbox.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2017 12:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326568#M72744</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-22T12:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Data Set --- newbie question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326581#M72755</link>
      <description>SAS procedures like PROC CONTENTS and PROC PRINT will only work with XLSX files if/when you have a configuration that uses the LIBNAME engine for EXCEL which is what allows those procedures to work without being imported. As I indicated in my original response, the LIBNAME engine for Excel does not work in SAS Studio and the University Edition because the correct "helper" files are not installed.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sun, 22 Jan 2017 14:53:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permanent-Data-Set-newbie-question/m-p/326581#M72755</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-22T14:53:13Z</dc:date>
    </item>
  </channel>
</rss>

