<?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: ODS TAGSETS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-TAGSETS/m-p/108407#M22536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ODS basically handles print output. A data step by itself doesn't create any output unless you use one of the options to create "print" data. The FILE PRINT ODS; statement says "if this data step creates any print type output, direct it to the ODS handler". The PUT _ODS_; says to create the print type output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ODS listing is to reopen the output destination after you had closed it with the ODS LISTING CLOSE; statement.&lt;/P&gt;&lt;P&gt;Without that your next output attempt would like generate a "No output destinations are open" error. It is only needed if you have closed the listing destination, i.e. the output window in 9.2 and earlier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2012 21:03:36 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-10-26T21:03:36Z</dc:date>
    <item>
      <title>ODS TAGSETS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-TAGSETS/m-p/108406#M22535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to use ODS tagsets so that Formats apply accordingly. Otherwise with just the Export to Excel formats were not getting applied in the sheet.&lt;/P&gt;&lt;P&gt;I thought I could Just use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="C:drive\colect121011001(2)\colect.xml";&lt;/P&gt;&lt;P&gt;data final;&lt;/P&gt;&lt;P&gt;set procedures_descrip2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT ONLY AFTER USING THE BELOW CODE I GET THE RESULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="C:\Data\Projects\Colectomy-20121011001(2)\colectomy.xml";&lt;/P&gt;&lt;P&gt;data final;&lt;/P&gt;&lt;P&gt;set procedures_descrip2;&lt;/P&gt;&lt;P&gt;file print ods;&lt;/P&gt;&lt;P&gt;put _ods_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question is why do we have to use statements???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ods listing&lt;/P&gt;&lt;P&gt;file print ods&lt;/P&gt;&lt;P&gt;put _ods_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 18:35:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-TAGSETS/m-p/108406#M22535</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-26T18:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-TAGSETS/m-p/108407#M22536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ODS basically handles print output. A data step by itself doesn't create any output unless you use one of the options to create "print" data. The FILE PRINT ODS; statement says "if this data step creates any print type output, direct it to the ODS handler". The PUT _ODS_; says to create the print type output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ODS listing is to reopen the output destination after you had closed it with the ODS LISTING CLOSE; statement.&lt;/P&gt;&lt;P&gt;Without that your next output attempt would like generate a "No output destinations are open" error. It is only needed if you have closed the listing destination, i.e. the output window in 9.2 and earlier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 21:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-TAGSETS/m-p/108407#M22536</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-10-26T21:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TAGSETS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-TAGSETS/m-p/108408#M22537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks a lot for the detailed information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 21:50:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-TAGSETS/m-p/108408#M22537</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-26T21:50:39Z</dc:date>
    </item>
  </channel>
</rss>

