<?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: Import a sas7bdat file into SAS Studio in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187813#M265783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the tutorials and the Help Centre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure to set up your shared folder and have the file under folders/myfolders/your_sas_file.sas7bdat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname myfiles '/folders/myfolders/';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=myfiles.your_sas_file;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAQ:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/software/products/university-edition/faq/main.htm" title="http://support.sas.com/software/products/university-edition/faq/main.htm"&gt;SAS University Edition Help Center&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See the section regarding using your own data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Youtube Tutorials:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/playlist?list=PLVBcK_IpFVi9cajJtRel2uBLbtcLz-WIN" title="https://www.youtube.com/playlist?list=PLVBcK_IpFVi9cajJtRel2uBLbtcLz-WIN"&gt; SAS Analytics U - YouTube&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Mar 2015 21:35:32 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-03-01T21:35:32Z</dc:date>
    <item>
      <title>Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187812#M265782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a total newbie. Thanks in advance for your mercy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for the step to import a sas7bdat file into SAS Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 20:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187812#M265782</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2015-03-01T20:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187813#M265783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the tutorials and the Help Centre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure to set up your shared folder and have the file under folders/myfolders/your_sas_file.sas7bdat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname myfiles '/folders/myfolders/';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=myfiles.your_sas_file;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FAQ:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/software/products/university-edition/faq/main.htm" title="http://support.sas.com/software/products/university-edition/faq/main.htm"&gt;SAS University Edition Help Center&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See the section regarding using your own data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Youtube Tutorials:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/playlist?list=PLVBcK_IpFVi9cajJtRel2uBLbtcLz-WIN" title="https://www.youtube.com/playlist?list=PLVBcK_IpFVi9cajJtRel2uBLbtcLz-WIN"&gt; SAS Analytics U - YouTube&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 21:35:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187813#M265783</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-01T21:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187814#M265784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The procedure for SAS Studio is different. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Here's the step that works for an Excel file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIBNAME mylib "/home/username/MyData/PH 627/";&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;filename PH627 "/home/username/MyData/PH 627/SBPdata.xls";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc import DATAFILE="/home/username/MyData/PH 627/SBPdata.xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DBMS=xls&lt;/P&gt;&lt;P&gt;&amp;nbsp; OUT=mylib.PH627; &lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 22:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187814#M265784</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2015-03-01T22:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187815#M265785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok...I should have asked for clarification.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I assumed you were using SAS University Edition, but it sounds like you're using SAS On Demand for Academics instead?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've posted code for an excel file while your original question was for a SAS file, .sas7bdat? Is your question answered or do you still need help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some good posts on here from Cynthia Zender with how to load data to SAS On Demand. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 01:54:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187815#M265785</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-02T01:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187816#M265786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do still need help. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using SAS Studio, which is like SAS UE and SAS OD for Academics. It's browser-based. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted the program for the Excel file as an example. I am trying to read/import (not sure the proper terminology) a .sas7bdat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll check Cynthia Zender's posts. Thanks for helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 02:05:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187816#M265786</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2015-03-02T02:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187817#M265787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to the SAS community. When wanting help with some code you have written that is giving errors or is not working how you want, it is a good idea to post the SAS log of your code with your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tends to cut through your difficulty in correctly describing your problem and in us understanding it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW SAS Studio is just another way of writing and running SAS code - the same code you would run with any other SAS interface. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 07:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187817#M265787</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-03-02T07:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187818#M265788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A .sas7bdat file does NOT need to be imported, it already is a SAS dataset. You need to place it in a location that your SAS process can see, and assign a libname to that location.&lt;/P&gt;&lt;P&gt;SAS/Studio is just a web-based frontend for SAS, and can be run in a multitude of configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the questions are:&lt;/P&gt;&lt;P&gt;- What is the backend for your SAS Studio (SAS on Demand, SAS UE or your organization's licensed SAS environment)?&lt;/P&gt;&lt;P&gt;- If the latter, do you have a single machine install with local SAS or a client/server setup without SAS software installed locally on your PC?&lt;/P&gt;&lt;P&gt;- If installed on a server, which operating system does the server run on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 07:17:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187818#M265788</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-03-02T07:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187819#M265789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="sasSource" style="color: #000000; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt;Here is my current program and the log. I've removed the IMPORT statement based on your comment that the file does not need to be imported:&lt;/P&gt;&lt;P class="sasSource" style="color: #000000; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sasSource" style="color: #000000; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; line-height: 1.5em; color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;LIBNAME mylib "/home/username/MyData/SAS Class";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;filename assign7 "/home/username/MyData/hivdat.sas7bdat";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc print;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="sasSource" style="color: #000000; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/P&gt;&lt;P class="sasSource" style="color: #000000; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt; 57&amp;nbsp; &lt;/P&gt;&lt;P class="sasSource" style="color: #000000; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt; 58 proc print;&lt;/P&gt;&lt;P class="sasError" id="sasLogError1_1425310035414" style="color: red; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt; ERROR: There is not a default input data set (_LAST_ is _NULL_).&lt;/P&gt;&lt;P class="sasSource" style="color: #000000; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt; 59 run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 15:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187819#M265789</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2015-03-02T15:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187820#M265790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;What is the backend for your SAS Studio (SAS on Demand, SAS UE or your organization's licensed SAS environment)?&amp;gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I don't know. I am not using SAS UE or my organizations SAS environment. I simply registered on the site and started using the free app.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The files must be uploaded before they can be used. I cannot point to a file on my hard drive. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 15:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187820#M265790</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2015-03-02T15:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187821#M265791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Libnames point to the folder that contain the datasets not the individual datasets.&amp;nbsp; You can then reference the datasets by using the LIBREF and the member name.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;libname mydata "/home/username/MyData" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc print data=mydata.hivdat ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P&gt;In addition to the traditional LIBREF.MEMNAME syntax you can also reference the physical file name by enclosing it it quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc print data="/home/username/MyData/hivdat.sas7bdat";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 15:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/187821#M265791</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-03-02T15:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Import a sas7bdat file into SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/340742#M265792</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Open SAS studio on demand in any internet explorer.&lt;/P&gt;&lt;P&gt;At the left hand side,click on Click on 'Server files and folders'.&lt;/P&gt;&lt;P&gt;Once opened,then click on 'files(Home)' .&lt;/P&gt;&lt;P&gt;After clikcing over it, click on upload icon little above .&lt;/P&gt;&lt;P&gt;A windows pop-up will open.In this pop-up,click on choose files.&lt;/P&gt;&lt;P&gt;This will&amp;nbsp;then get connected to your desktop,and thus you can upload the files in SAS studio usingthis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry,&amp;nbsp;do not have screenshot access in the office, else would have shared screenshot as well.&lt;/P&gt;&lt;P&gt;Reply to me ,if you need any help.&lt;/P&gt;&lt;P&gt;Happy learning.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 12:02:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-a-sas7bdat-file-into-SAS-Studio/m-p/340742#M265792</guid>
      <dc:creator>thisisneeraj</dc:creator>
      <dc:date>2017-03-14T12:02:38Z</dc:date>
    </item>
  </channel>
</rss>

