<?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 print format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703122#M215417</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.class
noobs round GTOTAL_LABEL="TOTAL" style(header)={backgroundcolor=cyan color=black fontsize=2 fontweight=bold just=center} 
style(header data)={bordertopwidth=.5 borderbottomwidth=.5
borderleftwidth=.5 borderrightwidth=.5 borderstyle=solid bordercolor=black};
sum height age /STYLE(GRANDTOTAL)={backgroundcolor=cyan color=black fontsize=2};
var name;
var age height ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am not getting Total to be wriiten in Output. Can anybody help me with proc print GTOTAL_LABEL options available in proc print .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 202px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52255iC9B9A6D365BA7255/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 15:33:38 GMT</pubDate>
    <dc:creator>ss171</dc:creator>
    <dc:date>2020-12-02T15:33:38Z</dc:date>
    <item>
      <title>proc print format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703122#M215417</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.class
noobs round GTOTAL_LABEL="TOTAL" style(header)={backgroundcolor=cyan color=black fontsize=2 fontweight=bold just=center} 
style(header data)={bordertopwidth=.5 borderbottomwidth=.5
borderleftwidth=.5 borderrightwidth=.5 borderstyle=solid bordercolor=black};
sum height age /STYLE(GRANDTOTAL)={backgroundcolor=cyan color=black fontsize=2};
var name;
var age height ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I am not getting Total to be wriiten in Output. Can anybody help me with proc print GTOTAL_LABEL options available in proc print .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 202px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52255iC9B9A6D365BA7255/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 15:33:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703122#M215417</guid>
      <dc:creator>ss171</dc:creator>
      <dc:date>2020-12-02T15:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc print format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703128#M215418</link>
      <description>&lt;P&gt;Works with a BY statement. Otherwise, without a BY statement in PROC PRINT, no GRANDTOTAL is printed, only a SUM is printed (and you can use SUMLABEL=' ').&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 15:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703128#M215418</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-12-02T15:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc print format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703138#M215420</link>
      <description>Use the right tool for the right job, AKA it would be easier with REPORT or TABULATE. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 16:05:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703138#M215420</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-12-02T16:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc print format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703332#M215477</link>
      <description>&lt;P&gt;With sumlabel as well I am not getting Total . Is SUMLABEL also works with BY only ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 10:58:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703332#M215477</guid>
      <dc:creator>ss171</dc:creator>
      <dc:date>2020-12-03T10:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc print format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703334#M215478</link>
      <description>&lt;P&gt;From the docs:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;H4 class="xisDoc-argument"&gt;SUMLABEL='&lt;EM class="xisDoc-userSuppliedValue"&gt;label&lt;/EM&gt;'&lt;/H4&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV class="xisDoc-argumentDescription"&gt;
&lt;BLOCKQUOTE&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;specifies the text to use as a label on the summary line of a BY group. You can include the #BYVAR and #BYVAL variables in '&lt;EM class="xisDoc-userSuppliedValue"&gt;label&lt;/EM&gt;'.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Dec 2020 11:07:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703334#M215478</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-12-03T11:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: proc print format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703461#M215548</link>
      <description>Yes, SUMLABEL only works with a BY statement. You can add a fake BY statement and use just the GRANDTOTAL option instead of subtotals if that will work. Again, wrong tool for what you're trying to do.</description>
      <pubDate>Thu, 03 Dec 2020 18:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-print-format/m-p/703461#M215548</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-12-03T18:26:13Z</dc:date>
    </item>
  </channel>
</rss>

