<?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 SAS Studio: How to use filename input sas7bdat and print data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893515#M353000</link>
    <description>&lt;P&gt;I have uploaded a .sas7bdat file to SAS Studio and the file's path is&amp;nbsp;/home/u63582165/abg_vbg_f23.sas7bdat (found it through file properties).&lt;/P&gt;&lt;P&gt;But when I run proc print data, it shows the table but it's null.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mgwynethj_0-1694395840569.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87751iFC065502F1F2D216/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mgwynethj_0-1694395840569.png" alt="mgwynethj_0-1694395840569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's the log:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mgwynethj_1-1694395886834.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87752i6953003E3A74F4AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mgwynethj_1-1694395886834.png" alt="mgwynethj_1-1694395886834.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mgwynethj_2-1694395911151.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87753iB0D1B39A6DAC6DF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mgwynethj_2-1694395911151.png" alt="mgwynethj_2-1694395911151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gwyneth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 01:33:04 GMT</pubDate>
    <dc:creator>mgwynethj</dc:creator>
    <dc:date>2023-09-11T01:33:04Z</dc:date>
    <item>
      <title>SAS Studio: How to use filename input sas7bdat and print data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893515#M353000</link>
      <description>&lt;P&gt;I have uploaded a .sas7bdat file to SAS Studio and the file's path is&amp;nbsp;/home/u63582165/abg_vbg_f23.sas7bdat (found it through file properties).&lt;/P&gt;&lt;P&gt;But when I run proc print data, it shows the table but it's null.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mgwynethj_0-1694395840569.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87751iFC065502F1F2D216/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mgwynethj_0-1694395840569.png" alt="mgwynethj_0-1694395840569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's the log:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mgwynethj_1-1694395886834.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87752i6953003E3A74F4AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mgwynethj_1-1694395886834.png" alt="mgwynethj_1-1694395886834.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mgwynethj_2-1694395911151.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87753iB0D1B39A6DAC6DF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mgwynethj_2-1694395911151.png" alt="mgwynethj_2-1694395911151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gwyneth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 01:33:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893515#M353000</guid>
      <dc:creator>mgwynethj</dc:creator>
      <dc:date>2023-09-11T01:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio: How to use filename input sas7bdat and print data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893516#M353001</link>
      <description>&lt;P&gt;You don't use FILENAME and INPUT with SAS datasets as SAS already knows how to read them. This should work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data = '/home/u63582165/abg_vbg_f23.sas7bdat';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also define a SAS LIBNAME pointing at SAS datasets in a folder:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname MyData "/home/u63582165";

proc print data = MyData.abg_vgb_f23;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Sep 2023 01:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893516#M353001</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-09-11T01:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio: How to use filename input sas7bdat and print data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893518#M353003</link>
      <description>&lt;P&gt;Thank you for your help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 03:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893518#M353003</guid>
      <dc:creator>mgwynethj</dc:creator>
      <dc:date>2023-09-11T03:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio: How to use filename input sas7bdat and print data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893541#M353018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/452020"&gt;@mgwynethj&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the forums, I hope you continue to have a good experience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that when a person provides a working answer then marking their post as the solution gives them the credit for their effort, which would be &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;in this case. You might be able to change which post you have marked as the solution, and it is also good to know for the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 10:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Studio-How-to-use-filename-input-sas7bdat-and-print-data/m-p/893541#M353018</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2023-09-11T10:16:54Z</dc:date>
    </item>
  </channel>
</rss>

