<?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 SASbook: Output Delivery System:: The Basics and Beyond in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SASbook-Output-Delivery-System-The-Basics-and-Beyond/m-p/472766#M21146</link>
    <description>&lt;P&gt;Can someone please explain why we need a close statement in Output Delivery System in SAS.&amp;nbsp; The sample code is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods html close;&lt;/PRE&gt;</description>
    <pubDate>Sun, 24 Jun 2018 09:53:53 GMT</pubDate>
    <dc:creator>pjpnk</dc:creator>
    <dc:date>2018-06-24T09:53:53Z</dc:date>
    <item>
      <title>SASbook: Output Delivery System:: The Basics and Beyond</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SASbook-Output-Delivery-System-The-Basics-and-Beyond/m-p/472766#M21146</link>
      <description>&lt;P&gt;Can someone please explain why we need a close statement in Output Delivery System in SAS.&amp;nbsp; The sample code is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods html close;&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 Jun 2018 09:53:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SASbook-Output-Delivery-System-The-Basics-and-Beyond/m-p/472766#M21146</guid>
      <dc:creator>pjpnk</dc:creator>
      <dc:date>2018-06-24T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: SASbook: Output Delivery System:: The Basics and Beyond</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SASbook-Output-Delivery-System-The-Basics-and-Beyond/m-p/472768#M21147</link>
      <description>&lt;P&gt;This statement closes the file (ends access by the SAS process), but more importantly, it writes information that is needed to get structural integrity. In HTML, this means that ending tags like&lt;/P&gt;
&lt;PRE&gt;&amp;lt;/BODY&amp;gt;
&amp;lt;/HTML&amp;gt;&lt;/PRE&gt;
&lt;P&gt;are written.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2018 10:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SASbook-Output-Delivery-System-The-Basics-and-Beyond/m-p/472768#M21147</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-24T10:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: SASbook: Output Delivery System:: The Basics and Beyond</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SASbook-Output-Delivery-System-The-Basics-and-Beyond/m-p/472789#M21149</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; With interfaces like Enterprise Guide and SAS Studio, it frequently appears as if no ODS statements are needed at all in your code. However, you will notice that most of the code in our book also has a beginning ODS statement --&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ODS HTML path="..." file="...";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;*** more SAS code;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ODS HTML CLOSE;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So that the close statement always "matches" an open statement for the destination.&lt;BR /&gt;&lt;BR /&gt;When you are taking full control over the output -- such that you control the output location and file name, then it's like your Mom said -- if you open it you should close it. So any ODS "open" statement needs a matching ODS "close" statement or uses the universal&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ODS _ALL_ CLOSE;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2018 16:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SASbook-Output-Delivery-System-The-Basics-and-Beyond/m-p/472789#M21149</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-06-24T16:14:46Z</dc:date>
    </item>
  </channel>
</rss>

