<?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: Importing sas7bdat file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294836#M61544</link>
    <description>Thank you. but my codes:&lt;BR /&gt;DATA myda1;&lt;BR /&gt;set SAS.myda;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;I can't get the dataset myda1. what can I do.</description>
    <pubDate>Mon, 29 Aug 2016 14:12:51 GMT</pubDate>
    <dc:creator>DingDing</dc:creator>
    <dc:date>2016-08-29T14:12:51Z</dc:date>
    <item>
      <title>Importing sas7bdat file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294824#M61540</link>
      <description>&lt;P&gt;I check this quesion here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Importing-sas7bdat-file/td-p/167889" target="_self"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Importing-sas7bdat-file/td-p/167889&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I want to import this data: &lt;STRONG&gt;myda.sas7bdat &lt;/STRONG&gt;. here is my code based on the solution offered by aboved link:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; LIBNAME SAS "\\Client\D$\sas";
PROC PRINT DATA= SAS.myda;
run;

&lt;/PRE&gt;
&lt;P&gt;up to now, it works well, but if I want to modify the dataset, it doesn't work.&lt;/P&gt;
&lt;PRE&gt;DATA myda1;
set SAS.myda;
run;&lt;/PRE&gt;
&lt;P&gt;So i don't know how to use the dataset with suffix &lt;STRONG&gt;sas7bdat, &lt;/STRONG&gt;anybody helps? Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294824#M61540</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2016-08-29T13:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sas7bdat file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294827#M61541</link>
      <description>&lt;P&gt;Sas7bdat files are SAS datasets. You don't import them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You refer to the dataset using the libname.dataset_name format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So assign a libname to the folder where you store the dataset and then refer to it in the format above.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 14:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294827#M61541</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-29T14:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sas7bdat file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294836#M61544</link>
      <description>Thank you. but my codes:&lt;BR /&gt;DATA myda1;&lt;BR /&gt;set SAS.myda;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;I can't get the dataset myda1. what can I do.</description>
      <pubDate>Mon, 29 Aug 2016 14:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294836#M61544</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2016-08-29T14:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sas7bdat file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294839#M61545</link>
      <description>&lt;P&gt;Post your full code and log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You put the name of the dataset your trying to use in the SET statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It it should look like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Libname input 'path to folder';&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;set input.myda1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 14:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294839#M61545</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-29T14:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Importing sas7bdat file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294848#M61549</link>
      <description>Yes, you are right. It is solved. Thank you.</description>
      <pubDate>Mon, 29 Aug 2016 14:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-sas7bdat-file/m-p/294848#M61549</guid>
      <dc:creator>DingDing</dc:creator>
      <dc:date>2016-08-29T14:28:47Z</dc:date>
    </item>
  </channel>
</rss>

