<?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: Procc Print add Total Row and Top and bottom underline on cell in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650467#M195038</link>
    <description>&lt;P&gt;Hi &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292097" target="_blank" rel="noopener"&gt;ed_sas_member,&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well. However, I would like to save it to separate workbook by the Name (eg. Alfred as at May 2020, Alice as at May 2020)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ODS EXCEL OPTIONS(AUTOFILTER="1-5" SHEET_INTERVAL = 'bygroup' EMBEDDED_TITLES='YES');&lt;/PRE&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 15:22:23 GMT</pubDate>
    <dc:creator>SASnewbie2</dc:creator>
    <dc:date>2020-05-25T15:22:23Z</dc:date>
    <item>
      <title>Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650160#M194975</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to insert a&amp;nbsp; "Total" on the last row of Map_Geometry and insert a Top &amp;amp; Bottom Underline Style on the Total of Count Cell as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate anyone of you could advise the code.&amp;nbsp;&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="test.png" style="width: 527px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39781i454CC7018D79A43B/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.png" alt="test.png" /&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 print data = test noobs;
ods excel options(autofilter="1-5" sheet_name = "Terminal Comparison" embedded_titles='yes');
sum country;
format country dollar12.2; 
run;
title j = l "Terminal Comparisons";
title2 j = l "January 1 - February 1, 2017";

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 12:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650160#M194975</guid>
      <dc:creator>SASnewbie2</dc:creator>
      <dc:date>2020-05-24T12:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650169#M194976</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/200077"&gt;@SASnewbie2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using proc print, you can add a style option to specify a border on the summary cell:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;sum country / style(grandtotal)={borderbottomstyle=solid bordertopstyle=solid};&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also specify the color and many other attributes (e.g. borderbottomcolor = black)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure that you can add "Total" using PROC Print.&lt;/P&gt;
&lt;P&gt;Proc report should be the best option to achieve this.&lt;/P&gt;
&lt;P&gt;Could you please share a portion of the data in regular datalines so that we can show you the code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 12:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650169#M194976</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-24T12:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650181#M194981</link>
      <description>&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Hi &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292097" target="_blank" rel="noopener"&gt;@ed_sas_member&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class="sas-author-rank"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sas-author-rank"&gt;Appreciate&amp;nbsp;your advice.&amp;nbsp; It works for the borderline style. However, may I know the code for inserting a Total on the last row of Name ?&lt;/DIV&gt;&lt;DIV class="sas-author-rank"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sas-author-rank"&gt;and I trying to update&amp;nbsp;Title as "&amp;nbsp;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;to show "The First Five Observations Out of 19&amp;nbsp;as at the generation date, but the result doesn't work out.&lt;/DIV&gt;&lt;DIV class="sas-author-rank"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.png" style="width: 240px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39782i93BA2D7D3FAC53FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.png" alt="test.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV class="sas-author-rank"&gt;&lt;PRE&gt;proc print data=sashelp.class(obs=5) noobs;
ods excel options(autofilter="1-5" sheet_name = "Terminal Comparison" embedded_titles='yes');
sum Age /style(grandtotal)={borderbottomstyle=solid bordertopstyle=solid};
title j = l "The First Five Observations Out of 19&amp;nbsp;as at %TRIM(%QSYSFUNC(DATE(), NLDATE20.))";
run;
ods excel close;
run;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sas-author-rank"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 14:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650181#M194981</guid>
      <dc:creator>SASnewbie2</dc:creator>
      <dc:date>2020-05-24T14:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650199#M194987</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/200077"&gt;@SASnewbie2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the following code, using PROC REPORT, to add "total" in the first column.&lt;/P&gt;
&lt;P&gt;I am not sure to understand what you want to display in the title after "as". Could you please specify?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ODS EXCEL OPTIONS(AUTOFILTER="1-5" SHEET_NAME = "TERMINAL COMPARISON" EMBEDDED_TITLES='YES');

proc report data=sashelp.class (obs=5) nowd style(header)={backgroundcolor=lightblue fontweight=bold};

	title j = left "THE FIRST FIVE OBSERVATIONS OUT OF 19 AS AT %TRIM(%QSYSFUNC(DATE(), NLDATE20.))";

	column Name	Sex	Age	Height Weight;
	
	define Name / display;
	define Sex / display;
	define Age / analysis;  /* &amp;lt;--- specify analysis if you want to compute the total */
	define Height / display;
	define Weight / display;
	
	rbreak after / summarize style={backgroundcolor=lightblue};
	
	compute after;
		if _BREAK_ = "_RBREAK_" then do;
			Name="Total";
			/* Specify _c3_ as "age" is the 3rd column in the report */
			call define ('_c3_','style','style={BORDERBOTTOMSTYLE=SOLID BORDERTOPSTYLE=SOLID}');
		end;
	endcomp;
	
run;
ODS EXCEL CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 May 2020 17:15:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650199#M194987</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-24T17:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650443#M195026</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/200077"&gt;@SASnewbie2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to stick to PROC PRINT, the only way to display 'Total' is to put it as a label in the observation number column:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.class (obs=5)
	grandtotal_label="Total";
	sum age / style(grandtotal)={borderbottomstyle=solid bordertopstyle=solid borderbottomcolor=red bordertopcolor=red};
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 May 2020 12:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650443#M195026</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-25T12:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650444#M195027</link>
      <description>&lt;P&gt;Hi &lt;A title="A reply to ed_sas_member's message from 05-24-2020" href="https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650199#M194987" target="_blank" rel="noopener"&gt;&amp;nbsp;ed_sas_member ,&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason I stick to proc print&amp;nbsp;as&amp;nbsp;I've more 10 variables on my dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me to check on my follows code as I would like to show the date as One day before "Today -1"&lt;/P&gt;&lt;PRE&gt;	title j = left "THE FIRST FIVE OBSERVATIONS OUT OF 19 AS AT %TRIM(%QSYSFUNC(Today(),-1, NLDATE20.))";&lt;BR /&gt;&lt;BR /&gt;ERROR: Expected close parenthesis after macro function invocation not found.&lt;BR /&gt;ERROR: More positional parameters found than defined.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate you can show me how can I use DO LOOP statement to spilt the dataset by Name and save it to excel worksheet and output name&amp;nbsp;as the "Column Name"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ODS EXCEL OPTIONS(AUTOFILTER="1-5" SHEET_NAME = "TERMINAL COMPARISON" EMBEDDED_TITLES='YES');

proc report data=sashelp.class (obs=5) nowd style(header)={backgroundcolor=lightblue fontweight=bold};

title j = left "THE FIRST FIVE OBSERVATIONS OUT OF 19 AS AT %TRIM(%QSYSFUNC(Today(), NLDATE20.))";

	column Name	Sex	Age	Height Weight;
	
	define Name / display;
	define Sex / display;
	define Age / analysis;  /* &amp;lt;--- specify analysis if you want to compute the total */
	define Height / display;
	define Weight / display;
	
	rbreak after / summarize style={backgroundcolor=lightblue};
	
	compute after;
		if _BREAK_ = "_RBREAK_" then do;
			Name="Total";
			/* Specify _c3_ as "age" is the 3rd column in the report */
			call define ('_c3_','style','style={BORDERBOTTOMSTYLE=SOLID BORDERTOPSTYLE=SOLID}');
		end;
	endcomp;
	
run;
ODS EXCEL CLOSE;&lt;/PRE&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 12:34:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650444#M195027</guid>
      <dc:creator>SASnewbie2</dc:creator>
      <dc:date>2020-05-25T12:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650448#M195029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/200077"&gt;@SASnewbie2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can update your title statement as follows, using th INTNX() function to retrieve the day before today:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title j = left "THE FIRST FIVE OBSERVATIONS OUT OF 19 AS AT %left(%qsysfunc(intnx(day,%sysfunc(Today()),-1),NLDATE20.))";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have used %left rather than %trim to remove leading blanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To split the&amp;nbsp;dataset by Name and save each report in a separate worksheet, there is no need to use do loop statement. &amp;nbsp;You can leverage the "BY" statement as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- add a BY statement in the PROC REPORT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class (obs=5) nowd style(header)={backgroundcolor=lightblue fontweight=bold};
	by name notsorted;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;- Add SHEET_INTERVAL = "bygroup" in the ODS EXCEL options:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS EXCEL OPTIONS(AUTOFILTER="1-5" SHEET_INTERVAL = 'bygroup' EMBEDDED_TITLES='YES');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 13:01:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650448#M195029</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-25T13:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650467#M195038</link>
      <description>&lt;P&gt;Hi &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292097" target="_blank" rel="noopener"&gt;ed_sas_member,&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well. However, I would like to save it to separate workbook by the Name (eg. Alfred as at May 2020, Alice as at May 2020)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ODS EXCEL OPTIONS(AUTOFILTER="1-5" SHEET_INTERVAL = 'bygroup' EMBEDDED_TITLES='YES');&lt;/PRE&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 15:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650467#M195038</guid>
      <dc:creator>SASnewbie2</dc:creator>
      <dc:date>2020-05-25T15:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650497#M195048</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/200077"&gt;@SASnewbie2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To generate as many Excel workbooks as names, I recommend that you first put the PROC REPORT in a macro program, and then that you automatize the macro calls by using CALL EXECUTE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;gt; The macro program filter the values based on the variable name (cf. WHERE statement). The value of name as well as the day before today are used in Excel file name.&lt;/P&gt;
&lt;P&gt;-&amp;gt; The DATA _NULL_ step leverages CALL EXECUTE to avoid writing as many macro calls as name values, and automatize this process:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro myreport (name);

	%let date = %TRIM(%QSYSFUNC(Today(), NLDATE20.));

	ODS EXCEL FILE="/home/u41058973/sasuser.v94/&amp;amp;name._&amp;amp;date..xlsx";

	ODS EXCEL OPTIONS(AUTOFILTER="1-5" SHEET_NAME = "TERMINAL COMPARISON" EMBEDDED_TITLES='YES');
	
	proc report data=sashelp.class (obs=5) nowd style(header)={backgroundcolor=lightblue fontweight=bold};
		
		title j = left "THE FIRST FIVE OBSERVATIONS OUT OF 19 AS AT &amp;amp;date.";
	
		where name = "&amp;amp;name.";
		
		column Name	Sex	Age	Height Weight;
		
		define Name / display;
		define Sex / display;
		define Age / analysis;  /* &amp;lt;--- specify analysis if you want to compute the total */
		define Height / display;
		define Weight / display;
		
		rbreak after / summarize style={backgroundcolor=lightblue};
		
		compute after;
			if _BREAK_ = "_RBREAK_" then do;
				Name="Total";
				/* Specify _c3_ as "age" is the 3rd column in the report */
				call define ('_c3_','style','style={BORDERBOTTOMSTYLE=SOLID BORDERTOPSTYLE=SOLID}');
			end;
		endcomp;
		
	run;

	ODS EXCEL CLOSE;

%mend;

data _null_;
	set sashelp.class (obs=5 keep=name); /* &amp;lt;- 1 observation per name */
	call execute (cats('%myreport(',name,')')); /* &amp;lt;- CALL EXECUTE execute the proc report for each value of name */
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 May 2020 17:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650497#M195048</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-25T17:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650586#M195096</link>
      <description>Hi ed_sas_member&lt;BR /&gt;&lt;BR /&gt;Great thanks for your advice.&lt;BR /&gt;&lt;BR /&gt;I shall study and apply it on my project.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Tue, 26 May 2020 03:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650586#M195096</guid>
      <dc:creator>SASnewbie2</dc:creator>
      <dc:date>2020-05-26T03:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Procc Print add Total Row and Top and bottom underline on cell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650608#M195105</link>
      <description>You’re welcome &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/200077"&gt;@SASnewbie2&lt;/a&gt; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;</description>
      <pubDate>Tue, 26 May 2020 06:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Procc-Print-add-Total-Row-and-Top-and-bottom-underline-on-cell/m-p/650608#M195105</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-26T06:44:21Z</dc:date>
    </item>
  </channel>
</rss>

