<?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 Proc Tabulate Query in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-Query/m-p/585874#M167178</link>
    <description>&lt;P&gt;May I know how to make the proc report data appear in page1 instead of page2? I run the below codes; but the proc report data output appeared on page2, not on page1 after the ods text.&amp;nbsp; Can anyone help? Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf file='c:\sastest\test.pdf' style=minimal;&lt;BR /&gt;&lt;BR /&gt;proc tabulate data=sashelp.cars format=dollar14.2;&lt;BR /&gt;class type; var invoice msrp; table type, msrp invoice msrp*pctsum&amp;lt;invoice&amp;gt;='Ratio of MSRP to Invoice'*f=8.2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS TEXT = "TRANSACTION RECORDS";&lt;BR /&gt;&lt;BR /&gt;PROC REPORT DATA=SASHELP.CARS(Where=(Make='Volvo')) style(header)=[background=tan] NOWINDOWS HEADLINE HEADSKIP;&lt;BR /&gt;COLUMNS MAKE MODEL INVOICE;&lt;BR /&gt;DEFINE MAKE /GROUP 'Car Brand';&lt;BR /&gt;DEFINE MODEL /GROUP 'Car Model';&lt;BR /&gt;DEFINE INVOICE / ANALYSIS 'INVOICE' FORMAT=DOLLAR16.2;&lt;BR /&gt;&lt;BR /&gt;RBREAK AFTER/ SUMMARIZE;&lt;BR /&gt;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2019 16:18:24 GMT</pubDate>
    <dc:creator>scb</dc:creator>
    <dc:date>2019-09-03T16:18:24Z</dc:date>
    <item>
      <title>Proc Tabulate Query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-Query/m-p/585874#M167178</link>
      <description>&lt;P&gt;May I know how to make the proc report data appear in page1 instead of page2? I run the below codes; but the proc report data output appeared on page2, not on page1 after the ods text.&amp;nbsp; Can anyone help? Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf file='c:\sastest\test.pdf' style=minimal;&lt;BR /&gt;&lt;BR /&gt;proc tabulate data=sashelp.cars format=dollar14.2;&lt;BR /&gt;class type; var invoice msrp; table type, msrp invoice msrp*pctsum&amp;lt;invoice&amp;gt;='Ratio of MSRP to Invoice'*f=8.2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS TEXT = "TRANSACTION RECORDS";&lt;BR /&gt;&lt;BR /&gt;PROC REPORT DATA=SASHELP.CARS(Where=(Make='Volvo')) style(header)=[background=tan] NOWINDOWS HEADLINE HEADSKIP;&lt;BR /&gt;COLUMNS MAKE MODEL INVOICE;&lt;BR /&gt;DEFINE MAKE /GROUP 'Car Brand';&lt;BR /&gt;DEFINE MODEL /GROUP 'Car Model';&lt;BR /&gt;DEFINE INVOICE / ANALYSIS 'INVOICE' FORMAT=DOLLAR16.2;&lt;BR /&gt;&lt;BR /&gt;RBREAK AFTER/ SUMMARIZE;&lt;BR /&gt;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 16:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-Query/m-p/585874#M167178</guid>
      <dc:creator>scb</dc:creator>
      <dc:date>2019-09-03T16:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate Query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-Query/m-p/585881#M167180</link>
      <description>&lt;P&gt;Look at the STARTPAGE option on the ODS PDF statement - specifically note what the default option is compared to what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/80526"&gt;@scb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;May I know how to make the proc report data appear in page1 instead of page2? I run the below codes; but the proc report data output appeared on page2, not on page1 after the ods text.&amp;nbsp; Can anyone help? Thank you very much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods pdf file='c:\sastest\test.pdf' style=minimal;&lt;BR /&gt;&lt;BR /&gt;proc tabulate data=sashelp.cars format=dollar14.2;&lt;BR /&gt;class type; var invoice msrp; table type, msrp invoice msrp*pctsum&amp;lt;invoice&amp;gt;='Ratio of MSRP to Invoice'*f=8.2;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS TEXT = "TRANSACTION RECORDS";&lt;BR /&gt;&lt;BR /&gt;PROC REPORT DATA=SASHELP.CARS(Where=(Make='Volvo')) style(header)=[background=tan] NOWINDOWS HEADLINE HEADSKIP;&lt;BR /&gt;COLUMNS MAKE MODEL INVOICE;&lt;BR /&gt;DEFINE MAKE /GROUP 'Car Brand';&lt;BR /&gt;DEFINE MODEL /GROUP 'Car Model';&lt;BR /&gt;DEFINE INVOICE / ANALYSIS 'INVOICE' FORMAT=DOLLAR16.2;&lt;BR /&gt;&lt;BR /&gt;RBREAK AFTER/ SUMMARIZE;&lt;BR /&gt;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;ODS PDF CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 16:53:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-Query/m-p/585881#M167180</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-03T16:53:27Z</dc:date>
    </item>
  </channel>
</rss>

