<?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: lines in the table with proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561971#M157384</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Changing STYLE(HEADER) on the PROC REPORT statement, as shown below, worked for me. You did not explain about what ODS destination you wanted. I switched to JOURNAL style for the RTF, but left the HTMLBLUE style for HTML, since you did not clarify what destination you wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I also cleaned up your code to get rid of the LISTING only options and also simplified your IF statement for the CALL DEFINE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="style_header_journal.png" style="width: 568px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29812iFBB112CCED75C8C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="style_header_journal.png" alt="style_header_journal.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2019 13:51:57 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-05-28T13:51:57Z</dc:date>
    <item>
      <title>lines in the table with proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561779#M157318</link>
      <description>&lt;P&gt;Hi SAS users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table (table have) with the code. I want to modify it to "table want" (black line under the first line, footnote line change, no vertical line in the middle).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How should I modify the code that I have? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table have" style="width: 556px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29787i42DB5A4E86138AA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="table1.png" alt="table have" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;table have&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table want" style="width: 585px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29788iCA8581A8DC2AC2D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="table2.png" alt="table want" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;table want&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC REPORT DATA=ALL      LIST     MISSING     NOWINDOWS
            HEADLINE      HEADSKIP SPLIT = '@' ;
   WHERE NUM GE 4 ;
COLUMN (NUM SORT1 VARNM COL1 )   ;

DEFINE NUM    /ORDER NOPRINT  ;
DEFINE SORT1    /ORDER NOPRINT ;
DEFINE VARNM  /ORDER WIDTH=20 'Parameter' LEFT
                 style(column)=[cellwidth=2.00in font_weight=bold ] ;
DEFINE COL1  /WIDTH=12 "Data" CENTER
                 style(column)=[cellwidth=2.50 in] ;

   compute before NUM ;
      count+1;
   endcomp;
   compute NUM;
      if NUM ^= '' and count ^=1 then call define(_row_,'style','style=[bordertopcolor=black bordertopwidth=2]');
   endcomp;

BREAK AFTER NUM / SKIP ;

 compute after _page_/ style={just=left};
    line "n, number; SD, standard deviation; Min, minimum; Max, maximum.";
  endcomp;


RUN;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 18:02:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561779#M157318</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2019-05-27T18:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: lines in the table with proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561796#M157322</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You don't show your ODS statements. I don't understand what style you used to get the dotted lines as cell dividers in either of your screenshots. Also, you didn't post any data for WORK.ALL, so no one can run your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Your code is also inconsistent -- you use LISTING only options (HEADLINE, HEADSKIP, SKIP, WIDTH ) that would be ignored by ODS destinations and you include style overrides designed for ODS destinations without showing the destination code you used for either screen shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Without data, you are asking people to not only make some fake data, but to guess about what destination you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 21:10:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561796#M157322</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-05-27T21:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: lines in the table with proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561964#M157382</link>
      <description>&lt;P&gt;Thank you for the response. I just attached the dataset here.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 13:33:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561964#M157382</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2019-05-28T13:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: lines in the table with proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561971#M157384</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Changing STYLE(HEADER) on the PROC REPORT statement, as shown below, worked for me. You did not explain about what ODS destination you wanted. I switched to JOURNAL style for the RTF, but left the HTMLBLUE style for HTML, since you did not clarify what destination you wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I also cleaned up your code to get rid of the LISTING only options and also simplified your IF statement for the CALL DEFINE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="style_header_journal.png" style="width: 568px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29812iFBB112CCED75C8C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="style_header_journal.png" alt="style_header_journal.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 13:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/561971#M157384</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-05-28T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: lines in the table with proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/562987#M157777</link>
      <description>Thank you very much!&lt;BR /&gt;</description>
      <pubDate>Fri, 31 May 2019 19:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/lines-in-the-table-with-proc-report/m-p/562987#M157777</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2019-05-31T19:39:34Z</dc:date>
    </item>
  </channel>
</rss>

