<?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 print by ID in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/577992#M163873</link>
    <description>&lt;P&gt;I tried to use footnote but I don't see any difference&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title;
proc print data=bbb  noobs;
by group;
id group;
footnote;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Jul 2019 09:55:23 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2019-07-31T09:55:23Z</dc:date>
    <item>
      <title>Proc print by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/577984#M163869</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In this example I create multiple prints (by group)&lt;/P&gt;
&lt;P&gt;I have 1 questions:&lt;/P&gt;
&lt;P&gt;1-I want to have empty line between the print outputs&lt;/P&gt;
&lt;P&gt;When I do copy and paste it into excel the prints are all connected and I want to have empty line between outputs&lt;/P&gt;
&lt;P&gt;2-I want to color value under PCT column in last row of each print:&lt;/P&gt;
&lt;P&gt;IF value&amp;gt;39% then it will have red background color.&lt;/P&gt;
&lt;P&gt;IF value&amp;lt;=39% then it will have green&amp;nbsp; background color.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data aaa;
input ID  group $ Y;
cards;
1 a 10
2 a 20
3 a 30
4 a 40
5 b 50
6 b 60
7 b 70
8 c 80
9 c 90
10 c 100
;
run;
data bbb;
   set aaa; 
   by group;
   if first.group then total=0;
   total + y;
   PCT=y/total;
   format PCT percent9.2;
run;
title;
proc print data=bbb  noobs;
by group;
id group;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 08:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/577984#M163869</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-07-31T08:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/577991#M163872</link>
      <description>&lt;P&gt;You can add FOOTNOTEs in order to have space between IDs.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 09:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/577991#M163872</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-07-31T09:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/577992#M163873</link>
      <description>&lt;P&gt;I tried to use footnote but I don't see any difference&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title;
proc print data=bbb  noobs;
by group;
id group;
footnote;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 09:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/577992#M163873</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-07-31T09:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/578017#M163879</link>
      <description>&lt;P&gt;You will have to change the template used to increase the space between tables. Depending on the output-format you are using, using CSS can help - i never did it, so this is just how i would try to solve the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are so many papers about how to change background color of cells and rows, i am sure you can find examples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: The title; statement resets all title-statements executed before. The footnote; has the same effect on footnotes.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 11:37:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/578017#M163879</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-07-31T11:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/578020#M163880</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title1 'My Title';
proc print data=bbb  noobs;
by group;
id group;
run;

footnote1 ' E - N - D ';
footnote2 '               ';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 11:57:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/578020#M163880</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-07-31T11:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc print by ID</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/578970#M164289</link>
      <description>&lt;P&gt;Thank you so much.&lt;/P&gt;
&lt;P&gt;I see that for example IF I want to&amp;nbsp; have 3 lines of space between the printed tables then I need to have 3 footnote statements.&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote;
footnote1 '               ';
footnote2 '               ';
footnote3 '               ';
title;
title1 'XXXXXX';
proc print data=sashelp.cars(where=(Type="SUV")) noobs;run;

title;
title1 'YYYY';
proc print data=sashelp.cars(where=(Type="SUV")) noobs;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 Aug 2019 06:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-print-by-ID/m-p/578970#M164289</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-08-04T06:08:37Z</dc:date>
    </item>
  </channel>
</rss>

