<?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: NOPRINT for PROC TABULATE in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159280#M11942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You must be using some other code to get the dataset to appear in the RTF file. When I implement Reeza's code in this sample program, my RTF file is empty. See screen shot.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods rtf file='c:\temp\what_report.rtf';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; ods select none;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc tabulate data=sashelp.class out=want;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class sex age;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables sex age, n;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; ods select all;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods rtf close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11837i6F4D63B423A09994/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="empty_report.png" title="empty_report.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 15:15:20 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-05-15T15:15:20Z</dc:date>
    <item>
      <title>NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159275#M11937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using PROC TABULATE to output a dataset and I don't want the TABULATE table to show in RTF or output i.e. I just want it to spit the dataset. Is there anyway to do that? looks like TABULATE has no NOPRINT equivalent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the code below and it doesn't serve the purpose...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS RTF file='PATH/.rtf'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS LISTING CLOSE;&lt;/P&gt;&lt;P&gt;proc tabulate data=DATA out=WANT;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class &lt;/P&gt;&lt;P&gt;&amp;nbsp; tables Var , Var * (n &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; pctn=''*f=pctfmt.) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS LISTING;&lt;/P&gt;&lt;P&gt;ODS RTF CLSOE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159275#M11937</guid>
      <dc:creator>Altal</dc:creator>
      <dc:date>2014-05-14T20:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159276#M11938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't know what you mean by "spit the dataset" -- you're going to need PROC PRINT for that -- there is no "spitting" to a destination without a procedure that creates output. I would suggest this instead. Move the TABULATE step outside of your ODS "sandwich" and then put your PROC PRINT "inside" the ODS statements.&lt;/P&gt;&lt;P&gt;Cynthia&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** run tabulate and make the dataset work.want;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc tabulate data=DATA out=WANT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; class&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; tables Var , Var * (n &lt;SPAN style="font-size: 10pt;"&gt; pctn=''*f=pctfmt.) ;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ODS LISTING CLOSE;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ODS RTF file='PATH/.rtf'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc print data=work.want;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ODS RTF CLOSE;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159276#M11938</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-05-14T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159277#M11939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the ODS Select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods select none;&lt;/P&gt;&lt;P&gt;proc tabulate data=sashelp.class out=want;&lt;/P&gt;&lt;P&gt;class sex age;&lt;/P&gt;&lt;P&gt;tables sex age, n;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods select all;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:27:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159277#M11939</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-14T20:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159278#M11940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With some languages "spit" (spitten nl) should be translated to dig (en),&amp;nbsp; more advanced that is "data mining".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 05:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159278#M11940</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-05-15T05:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159279#M11941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the language, I meant for the proc tabulate to output the dataset I wanted without printing it in the rtf output. Cynthia, thanks for your suggestion; but I couldn't take the tabulate proc outside the ODS since it's inside a macro. I implemented Reeza's code and it works. Thank you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 11:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159279#M11941</guid>
      <dc:creator>Altal</dc:creator>
      <dc:date>2014-05-15T11:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159280#M11942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; You must be using some other code to get the dataset to appear in the RTF file. When I implement Reeza's code in this sample program, my RTF file is empty. See screen shot.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods rtf file='c:\temp\what_report.rtf';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; ods select none;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc tabulate data=sashelp.class out=want;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class sex age;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables sex age, n;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; ods select all;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods rtf close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11837i6F4D63B423A09994/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="empty_report.png" title="empty_report.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 15:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159280#M11942</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-05-15T15:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159281#M11943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactly what I wanted (for proc tabulate to do the tabulation, give me the dataset in the OUT= and not to print anything in the RTF; then I'm using the dataset for other calculation). I appreciate the response. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 15:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159281#M11943</guid>
      <dc:creator>Altal</dc:creator>
      <dc:date>2014-05-15T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: NOPRINT for PROC TABULATE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159282#M11944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much for helping me through this type of output .&lt;/P&gt;&lt;P&gt;I have been working on text pad and as I use this tabulate I would get all the unwanted stuff .Any ways it was very much helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a Lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giridhar Goutham Y&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 05:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/NOPRINT-for-PROC-TABULATE/m-p/159282#M11944</guid>
      <dc:creator>GiridharGoutham</dc:creator>
      <dc:date>2014-09-02T05:33:22Z</dc:date>
    </item>
  </channel>
</rss>

