<?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: Proc report: how to show group variable across new pages in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493963#M130086</link>
    <description>&lt;P&gt;Can you show an example of the desired output please?&lt;/P&gt;</description>
    <pubDate>Sun, 09 Sep 2018 22:46:51 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2018-09-09T22:46:51Z</dc:date>
    <item>
      <title>Proc report: how to show group variable across new pages</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493862#M130028</link>
      <description>&lt;P&gt;Hi, I think this question may be asked before. But I was unable to find it. Basically, I have group variable say &lt;STRONG&gt;Subject&lt;/STRONG&gt;&amp;nbsp;(Math, English etc),&amp;nbsp; and another column: &lt;STRONG&gt;Student&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subject&amp;nbsp; &amp;nbsp; Sudent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Math&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Student1&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Math&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Student100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In proc report, I want to list Math only in first row of all pages&amp;nbsp;with all Students. Define Subject as group can only accomplish this in first page. In next page under same subject (here math), it shows blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried rowspans but it seemed working different from what I want here. Can you help?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Sep 2018 03:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493862#M130028</guid>
      <dc:creator>jsbyxws</dc:creator>
      <dc:date>2018-09-09T03:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: how to show group variable across new pages</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493963#M130086</link>
      <description>&lt;P&gt;Can you show an example of the desired output please?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Sep 2018 22:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493963#M130086</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-09-09T22:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: how to show group variable across new pages</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493974#M130090</link>
      <description>&lt;P&gt;Say page line limit is 65, in page 1, current output is&lt;BR /&gt;&lt;STRONG&gt;Math&lt;/STRONG&gt; Student1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Student2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Studemt65&lt;BR /&gt;&lt;BR /&gt;In page 2, it is&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Student66&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Student100&lt;BR /&gt;&lt;BR /&gt;But I want Math also shows up in 2nd page and row 1 only, i.e. in page 2:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Math&lt;/STRONG&gt; Sudent66&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Student67&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ....&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Student100&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 00:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493974#M130090</guid>
      <dc:creator>jsbyxws</dc:creator>
      <dc:date>2018-09-10T00:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: how to show group variable across new pages</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493989#M130093</link>
      <description>&lt;P&gt;Have you seen &lt;A href="https://groups.google.com/forum/#!topic/comp.soft-sys.sas/Eckkv39EthI" target="_self"&gt;this&amp;nbsp;&lt;/A&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/values-of-group-variables-break-across-pages/td-p/57555" target="_self"&gt;this &lt;/A&gt;and &lt;A href="http://support.sas.com/kb/53/783.html" target="_self"&gt;this&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 02:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/493989#M130093</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-09-10T02:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: how to show group variable across new pages</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/494122#M130157</link>
      <description>Thanks for help! Yes, I checked all three "this". The 2nd "this" wanted different result. The first case using "spanrows" actually moved page-broken section to next page - which is a bit different from what I want. The 3rd "this" is what I wanted to show but don't know how to modify its code to fit mine.</description>
      <pubDate>Mon, 10 Sep 2018 13:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/494122#M130157</guid>
      <dc:creator>jsbyxws</dc:creator>
      <dc:date>2018-09-10T13:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: how to show group variable across new pages</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/494954#M130536</link>
      <description>&lt;P&gt;I created a sample data with 100 records grouped by variable "grp". Since one page can only hold say 60 records, the remaining 40 records will show up in next page. But in proc report, "grp" shows blank since it is group variable. I do want to show it in first observation in new page. Can you help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;&amp;nbsp; do i=1 to 100;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; grp="grp";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; output;&lt;BR /&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods rtf file="c:\ducoments\1.rtf";&lt;/P&gt;&lt;P&gt;proc report data=a ps=75;&lt;BR /&gt;&amp;nbsp; column grp i;&lt;BR /&gt;&amp;nbsp; define grp/group order=internal;&lt;BR /&gt;&amp;nbsp; define i/display;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 18:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/494954#M130536</guid>
      <dc:creator>jsbyxws</dc:creator>
      <dc:date>2018-09-12T18:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report: how to show group variable across new pages</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/495536#M130793</link>
      <description>&lt;P&gt;Mmm that's one for tech support I reckon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usage Note 53783 seems to work fine for PDF but not RTF on my 9.4M2 SAS version&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 21:43:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-how-to-show-group-variable-across-new-pages/m-p/495536#M130793</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-09-13T21:43:18Z</dc:date>
    </item>
  </channel>
</rss>

