<?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: Two or more PROC REPORT  outputs in the same page (listing uotput) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285038#M58195</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt; I'm not sure why you need to produce this type of report in text file (which is what LISTING output is). It looks like a standard demographic report and most of my students use either PDF or RTF for this report type.&lt;BR /&gt;&lt;BR /&gt;However, if you want to send output to the LISTING destination, specifically to a file, then you will need to do 2 things:&lt;BR /&gt;1) change your ODS LISTING statement to have a full path AND filename reference &lt;BR /&gt;and&lt;BR /&gt;2) investigate the option that puts a "page break" between each procedure output. For the LISTING destination, I believe it is the FORMDLIM or FORMDLM option. you'll have to look it up. (Right now, you are getting the default "carriage control" character inserted at the beginning of every procedure and you need to find the system option that will turn this off.)&lt;BR /&gt; &lt;BR /&gt;cynthia&lt;BR /&gt;&lt;BR /&gt;by full path and extension I mean that you need to change this to:&lt;BR /&gt;ods listing file = 'c:\myfile\report.lst'; OR&lt;BR /&gt;ods listing file = 'c:\myfile\report.txt';&lt;BR /&gt;... your code;&lt;BR /&gt;ods listing close;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jul 2016 14:08:48 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-07-16T14:08:48Z</dc:date>
    <item>
      <title>Two or more PROC REPORT  outputs in the same page (listing uotput)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285008#M58182</link>
      <description>&lt;P&gt;Hi. I just start to learn SAS and I need some help with my problem.&lt;/P&gt;&lt;P&gt;I need to make listing output to a common text file. The output must contain outputs of few PROC REPORT steps, but some of them should be in the same page.&lt;/P&gt;&lt;P&gt;When I try to make such output with code like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing file = 'c:\myfile';&lt;/P&gt;&lt;P&gt;proc report data = mydata1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data = mydata2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this two outputs are placed in the same file, but they are in different pages. Each output begins with new page. I tried to find more information anywhere, but withuot any results. Also&amp;nbsp;&lt;SPAN&gt;ODS doesn't provide such options for LISTING output. So I'm confused a bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need output like below in the same page:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Age (years)&lt;/P&gt;&lt;PRE&gt; N	         xx
 Mean	         xx.x
 SD	         xx.xx
 Median	         xx.x
 Min	         xx
 Max	         xx&lt;/PRE&gt;&lt;P&gt;Age Group: N(%)&lt;/P&gt;&lt;PRE&gt; &amp;gt;17-&amp;lt;=35	 xx (xxx.x%)
 &amp;gt;35-&amp;lt;=50	 xx (xxx.x%)
 &amp;gt;50-&amp;lt;=65	 xx (xxx.x%)
 &amp;gt;65	         xx (xxx.x%)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe someone could help me to find the solution, or tell me easier way than ods.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2016 13:20:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285008#M58182</guid>
      <dc:creator>bobbee</dc:creator>
      <dc:date>2016-07-16T13:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Two or more PROC REPORT  outputs in the same page (listing uotput)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285038#M58195</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; I'm not sure why you need to produce this type of report in text file (which is what LISTING output is). It looks like a standard demographic report and most of my students use either PDF or RTF for this report type.&lt;BR /&gt;&lt;BR /&gt;However, if you want to send output to the LISTING destination, specifically to a file, then you will need to do 2 things:&lt;BR /&gt;1) change your ODS LISTING statement to have a full path AND filename reference &lt;BR /&gt;and&lt;BR /&gt;2) investigate the option that puts a "page break" between each procedure output. For the LISTING destination, I believe it is the FORMDLIM or FORMDLM option. you'll have to look it up. (Right now, you are getting the default "carriage control" character inserted at the beginning of every procedure and you need to find the system option that will turn this off.)&lt;BR /&gt; &lt;BR /&gt;cynthia&lt;BR /&gt;&lt;BR /&gt;by full path and extension I mean that you need to change this to:&lt;BR /&gt;ods listing file = 'c:\myfile\report.lst'; OR&lt;BR /&gt;ods listing file = 'c:\myfile\report.txt';&lt;BR /&gt;... your code;&lt;BR /&gt;ods listing close;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2016 14:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285038#M58195</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-16T14:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Two or more PROC REPORT  outputs in the same page (listing uotput)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285083#M58208</link>
      <description>You can use simple Data Step to get it .</description>
      <pubDate>Sun, 17 Jul 2016 02:26:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285083#M58208</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-07-17T02:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Two or more PROC REPORT  outputs in the same page (listing uotput)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285732#M58479</link>
      <description>&lt;P&gt;Thank you. It realy helped me.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 04:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Two-or-more-PROC-REPORT-outputs-in-the-same-page-listing-uotput/m-p/285732#M58479</guid>
      <dc:creator>bobbee</dc:creator>
      <dc:date>2016-07-20T04:17:23Z</dc:date>
    </item>
  </channel>
</rss>

