<?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: Programming 1: Exporting data into excel workbook, usage of libref. in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743670#M762</link>
    <description>Thanks Reeza. I think i get it. If I dnt clear the libref, SAS displays data from newly created dataset in Output Window.</description>
    <pubDate>Tue, 25 May 2021 19:02:48 GMT</pubDate>
    <dc:creator>palvani</dc:creator>
    <dc:date>2021-05-25T19:02:48Z</dc:date>
    <item>
      <title>Programming 1: Exporting data into excel workbook, usage of libref.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743661#M759</link>
      <description>&lt;P&gt;libname xl_lib xlsx "&amp;amp;outpath/storm.xlsx" ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data xl_lib.storm_final;&lt;BR /&gt;set pg1.storm_final;&lt;BR /&gt;drop Lat Lon Basin OceanCode;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;*libname xl_lib clear;&lt;/P&gt;&lt;P&gt;Question: As per the demo in the course, this code should not generate any output data displayed in SAS studio as we are writing the same to excel workbook. clearing the libref at the end of the program is to remove reference to the library. why am I able to see output data if I don't clear libref and if I clear the libref, output data is not generated?&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 18:41:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743661#M759</guid>
      <dc:creator>palvani</dc:creator>
      <dc:date>2021-05-25T18:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Exporting data into excel workbook, usage of libref.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743663#M760</link>
      <description>What do you mean by "see output data"? No data will be written to the RESULTS window, but you will get a data set in your XL_LIB library. &lt;BR /&gt;Your second libname statement is commented out, so does not execute, which means your libref stays around. &lt;BR /&gt;&lt;BR /&gt;If your libref is de-assigned/cleared the file still exists on your computer/in the folder but SAS won't have direct access via the libname.</description>
      <pubDate>Tue, 25 May 2021 18:47:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743663#M760</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-25T18:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Exporting data into excel workbook, usage of libref.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743667#M761</link>
      <description>My question is how does clearing libref influences whether any data is visible in Output Data window in SAS studio?&lt;BR /&gt;I have commented the libname statement as part of testing so pl ignore that.&lt;BR /&gt;Results window is empty as we are not printing any data here.</description>
      <pubDate>Tue, 25 May 2021 18:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743667#M761</guid>
      <dc:creator>palvani</dc:creator>
      <dc:date>2021-05-25T18:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Exporting data into excel workbook, usage of libref.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743670#M762</link>
      <description>Thanks Reeza. I think i get it. If I dnt clear the libref, SAS displays data from newly created dataset in Output Window.</description>
      <pubDate>Tue, 25 May 2021 19:02:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743670#M762</guid>
      <dc:creator>palvani</dc:creator>
      <dc:date>2021-05-25T19:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Exporting data into excel workbook, usage of libref.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743674#M763</link>
      <description>Clearing a libref means that you no longer see it under Libraries and it does not show up in the OUTPUT Data window either since the library is now un-assigned. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2021 19:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743674#M763</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-25T19:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Exporting data into excel workbook, usage of libref.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743676#M764</link>
      <description>This behavior will vary based on the SAS interface to some degree as well. &lt;BR /&gt;Base/Foundation has no output data tab in the first place. &lt;BR /&gt;EG does, but that could also be suppressed via other options. &lt;BR /&gt;&lt;BR /&gt;For Studio, with default SAS settings, you're correct. &lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2021 19:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Programming-1-Exporting-data-into-excel-workbook-usage-of-libref/m-p/743676#M764</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-25T19:10:04Z</dc:date>
    </item>
  </channel>
</rss>

