<?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 Tabulate- reduce the height of title in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-reduce-the-height-of-title/m-p/411021#M100464</link>
    <description>&lt;P&gt;What is your code?&lt;/P&gt;
&lt;P&gt;Proc tabulate does not do what you showed.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data HAVE;
  do CAT='A','B';
    do WHEN='Very often','Often','Sometimes','Never';
      output;
    end;
  end;
run;
proc format ;
  value $longb 'B'='  ksdhk jskjh khsk kjhk hkh kkhkkhdkhdk hkdhkkhkhdkdfhkk';
run;
proc tabulate data=HAVE;
  class CAT WHEN;
  table n='#', CAT=' '*WHEN=' ';
  format CAT $longb.;
run;

 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;TABLE class="table" summary="Procedure Tabulate: Table 1" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c m header" rowspan="2" scope="col"&gt;&amp;nbsp;&lt;/TH&gt;
&lt;TH class="c header" colspan="4" scope="colgroup"&gt;A&lt;/TH&gt;
&lt;TH class="c header" colspan="4" scope="colgroup"&gt;ksdhk jskjh khsk kjhk hkh kkhkkhdkhdk hkdhkkhkhdkdfhkk&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="c header" scope="col"&gt;Never&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Often&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Sometimes&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Very often&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Never&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Often&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Sometimes&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Very often&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;#&lt;/TH&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2017 01:05:15 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2017-11-07T01:05:15Z</dc:date>
    <item>
      <title>Proc Tabulate- reduce the height of title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-reduce-the-height-of-title/m-p/410980#M100447</link>
      <description>&lt;P&gt;Hello all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a project, I need to make&amp;nbsp;a table in SAS, I use proc tabulate to achieve it. The structure of the table works well, unless one problem bothers me as following pictures.&lt;U&gt;I want to spread the title out and reduce the title height.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" border="0" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;SPAN&gt;The table I want:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16480iD45F25B8C0C7CFB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/i/smilies/16x16_smiley-indifferent.png" border="0" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt;&lt;SPAN&gt;The table I have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16481i4E7B8D49D0034146/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It is almost there. However, I cannot come up with a solution to spread the title out, I can easily change it in Excel, but the situation is I need to make the report all completed by SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 20:17:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-reduce-the-height-of-title/m-p/410980#M100447</guid>
      <dc:creator>XiaoGuaiShou</dc:creator>
      <dc:date>2017-11-06T20:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate- reduce the height of title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-reduce-the-height-of-title/m-p/411021#M100464</link>
      <description>&lt;P&gt;What is your code?&lt;/P&gt;
&lt;P&gt;Proc tabulate does not do what you showed.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data HAVE;
  do CAT='A','B';
    do WHEN='Very often','Often','Sometimes','Never';
      output;
    end;
  end;
run;
proc format ;
  value $longb 'B'='  ksdhk jskjh khsk kjhk hkh kkhkkhdkhdk hkdhkkhkhdkdfhkk';
run;
proc tabulate data=HAVE;
  class CAT WHEN;
  table n='#', CAT=' '*WHEN=' ';
  format CAT $longb.;
run;

 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;TABLE class="table" summary="Procedure Tabulate: Table 1" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="c m header" rowspan="2" scope="col"&gt;&amp;nbsp;&lt;/TH&gt;
&lt;TH class="c header" colspan="4" scope="colgroup"&gt;A&lt;/TH&gt;
&lt;TH class="c header" colspan="4" scope="colgroup"&gt;ksdhk jskjh khsk kjhk hkh kkhkkhdkhdk hkdhkkhkhdkdfhkk&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TH class="c header" scope="col"&gt;Never&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Often&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Sometimes&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Very often&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Never&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Often&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Sometimes&lt;/TH&gt;
&lt;TH class="c header" scope="col"&gt;Very often&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="l t rowheader" scope="row"&gt;#&lt;/TH&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;TD class="r b data"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 01:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-reduce-the-height-of-title/m-p/411021#M100464</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-11-07T01:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Tabulate- reduce the height of title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-reduce-the-height-of-title/m-p/411218#M100526</link>
      <description>Hi, I really appreciate your help. It works well in SAS base, but the problem above shows up in SAS/IntrNet(ods to html). The problem may happen in ods style, I will try to figure it out. Thanks all the same.</description>
      <pubDate>Tue, 07 Nov 2017 15:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Tabulate-reduce-the-height-of-title/m-p/411218#M100526</guid>
      <dc:creator>XiaoGuaiShou</dc:creator>
      <dc:date>2017-11-07T15:49:31Z</dc:date>
    </item>
  </channel>
</rss>

