<?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 break in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-report-break/m-p/56280#M12012</link>
    <description>Hi:&lt;BR /&gt;
  You will have to use a COMPUTE block. There have been many previous forum postings on using the COMPUTE block. You will have to use slightly different techniques, depending on whether terr_id is numeric or character. The basic model for the COMPUTE block will be:&lt;BR /&gt;
[pre]&lt;BR /&gt;
  COMPUTE AFTER TERR_ID;&lt;BR /&gt;
    . . . assignment and other statements go here . . . &lt;BR /&gt;
  ENDCOMP;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
Investigation of previous forum postings and the PROC REPORT documentation should help you figure out what you want to do.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Mon, 20 Jul 2009 17:23:06 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2009-07-20T17:23:06Z</dc:date>
    <item>
      <title>proc report break</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-break/m-p/56279#M12011</link>
      <description>break after terr_id /summarize skip ol style=[font_weight=bold background=grey];&lt;BR /&gt;
&lt;BR /&gt;
For the above break statement, the output looks as below:&lt;BR /&gt;
terr_id   phy_name   state    mg&lt;BR /&gt;
1234    abc_name     KS     500&lt;BR /&gt;
&lt;BR /&gt;
If the display has to be as shown below:&lt;BR /&gt;
&lt;BR /&gt;
terr_id          phy_name      state   mg&lt;BR /&gt;
1234 total       abc_name     KS     500&lt;BR /&gt;
&lt;BR /&gt;
how to show the word  "total" next to the terr_id after summarizing?</description>
      <pubDate>Mon, 20 Jul 2009 15:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-break/m-p/56279#M12011</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-07-20T15:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc report break</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-break/m-p/56280#M12012</link>
      <description>Hi:&lt;BR /&gt;
  You will have to use a COMPUTE block. There have been many previous forum postings on using the COMPUTE block. You will have to use slightly different techniques, depending on whether terr_id is numeric or character. The basic model for the COMPUTE block will be:&lt;BR /&gt;
[pre]&lt;BR /&gt;
  COMPUTE AFTER TERR_ID;&lt;BR /&gt;
    . . . assignment and other statements go here . . . &lt;BR /&gt;
  ENDCOMP;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
Investigation of previous forum postings and the PROC REPORT documentation should help you figure out what you want to do.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 20 Jul 2009 17:23:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-break/m-p/56280#M12012</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-07-20T17:23:06Z</dc:date>
    </item>
  </channel>
</rss>

