<?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>ODS and Base Reporting topics</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/bd-p/ods_base_reporting</link>
    <description>ODS and Base Reporting topics</description>
    <pubDate>Thu, 22 Jul 2021 17:15:08 GMT</pubDate>
    <dc:creator>ods_base_reporting</dc:creator>
    <dc:date>2021-07-22T17:15:08Z</dc:date>
    <item>
      <title>ODS PDF image resolution</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-image-resolution/m-p/755957#M25132</link>
      <description>&lt;P&gt;Relatively new to SAS and having issues with resolution of PNG and JPG images when they are exported to PDF reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have tried using the suggestions I was able to find on this forum and elsewhere but still having issues with resolution in the finished product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Image is crisp in both png and jpg but when using the following, the image ends up pixelated on the PDF. It does not happen all of the time depends on the image being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let Image='Drive:\folder\folder\folder/LOGO_1.PNG' dpi=300;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same problem here&lt;/P&gt;&lt;P&gt;ODS LAYOUT ABSOLUTE;&lt;BR /&gt;&lt;BR /&gt;ODS Region Y=0.1in X=0.1in;&lt;BR /&gt;ODS text= "~{style[preimage='Drive:\folder\folder\folder/LOGO_1.PNG']}";&lt;BR /&gt;ODS Region Y=0.38in X=2.5in;&lt;BR /&gt;ODS text= "~{style[color=BL Font_size=16pt Font_weight=bold]&amp;amp;ANAME}";&lt;BR /&gt;ODS text= "~{style[color=BL Font_size=16pt Font_weight=bold]Report name}";&lt;BR /&gt;ODS text= "~{style[color=BL Font_size=16pt]&amp;amp;monthfull &amp;amp;Y}";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 14:26:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-image-resolution/m-p/755957#M25132</guid>
      <dc:creator>JacobC</dc:creator>
      <dc:date>2021-07-22T14:26:08Z</dc:date>
    </item>
    <item>
      <title>Centering Text Using ODS TAGSETS.RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Centering-Text-Using-ODS-TAGSETS-RTF/m-p/755620#M25128</link>
      <description>&lt;P&gt;I am trying to center text in ods tagsets.rtf output, but the text is still left justified even with j=c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^";

ods tagsets.rtf file="&amp;amp;outpath.\table1.rtf";

ods text="^S={j=c fontsize=13pt fontweight=bold}First text on page.";

ods tagsets.rtf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Centering-Text-Using-ODS-TAGSETS-RTF/m-p/755620#M25128</guid>
      <dc:creator>jackieme</dc:creator>
      <dc:date>2021-07-21T13:42:57Z</dc:date>
    </item>
    <item>
      <title>Controlling borders in PROC REPORT and ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-borders-in-PROC-REPORT-and-ODS-Excel/m-p/755418#M25121</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am attempting final formatting on reports generated using PROC REPORT and ODS Excel. I am trying to remove borders that appear between two rows from grouped data, like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bstarr_0-1626800362765.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61431i71E6DBD31514C531/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bstarr_0-1626800362765.png" alt="bstarr_0-1626800362765.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
set sashelp.cars (keep=Make Model MSRP MPG_City MPG_Highway);
    where Model in (' A4 1.8T 4dr' ' 325i 4dr');
    MPG = MPG_City; output;
    MPG = MPG_Highway; output;
run;
data test2;
set test (in=a) test (in=b);
    if a then year = '2019';
    if b then year = '2020';
run;

ods excel file="C:\Sample Proc Report.xlsx";
proc report data=test2 nowd spanrows style(hdr)=[fontfamily="Arial" fontsize=9pt foreground=white background=darkblue just=c] 
    style(lines)=[fontfamily="Arial" fontsize=9pt just=c borderbottomwidth=0 borderbottomstyle=hidden bordertopwidth=0 bordertopstyle=hidden];
    title "Title";
    columns ("Header1" Year Make ("Header2" MPG) MSRP);
        define Year / "Year" group order=data style(column)=[cellwidth=.65in];
        define Make / "Make" group order=data style(column)=[cellwidth=.4in];
        define MPG / "MPG" display style(column)=[cellwidth=.65in /*borderbottomstyle=hidden bordertopstyle=hidden*/];
        define MSRP / "MSRP" group style(column)=[cellwidth=.65in];
    compute after Make / style=[bordertopcolor=black bordertopwidth=1pt bordertopstyle=solid borderbottomcolor=black borderbottomwidth=1pt borderbottomstyle=solid];
        call define(_row_,'style','style=[bordertopstyle=solid bordertopwidth=1pt bordertopcolor=black borderbottomstyle=solid borderbottomwidth=1pt borderbottomcolor=black]');
    endcomp;
    compute after/style=[just=l fontfamily="Arial" color=black backgroundcolor=white borderbottomstyle=hidden borderleftstyle=hidden borderrightstyle=hidden];
        line "Footer goes here.";
    endcomp;
run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've commented out a portion on the "define MPG" row that when uncommented, removes ALL borders for that column (but the borders don't reappear in my "compute after Make" block). So I can either remove all row borders for that column, or leave all row borders in - I can't seem to remove those alternating row borders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 17:12:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-borders-in-PROC-REPORT-and-ODS-Excel/m-p/755418#M25121</guid>
      <dc:creator>bstarr</dc:creator>
      <dc:date>2021-07-20T17:12:54Z</dc:date>
    </item>
    <item>
      <title>ODS TAGSETS.EXCELXP Loading 17 digits length number , truncating or change the last 3 digits</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754744#M25116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to loading 17 digits length number from sas table to ODS TAGSETS.EXCELXP ( using SAS94) . but it is messing up the last 3 digits of the number. Can any one please let me know the solution to my problem.&amp;nbsp; Here is my sample coding .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA TEMP1;&lt;BR /&gt;X = 12345678901234567;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FILENAME TEMP 'C:\TMP\TEST.XLS';&lt;/P&gt;
&lt;P&gt;ODS _ALL_ CLOSE;&lt;BR /&gt;ODS TAGSETS.EXCELXP FILE=TEMP STYLE=STYLES.HTMLBLUE RS=NONE;&lt;BR /&gt;ODS TAGSETS.EXCELXP OPTIONS(SHEET_NAME="MATCH"&lt;/P&gt;
&lt;P&gt;EMBEDDED_TITLES='YES'&lt;BR /&gt;AUTOFILTER='ALL' AUTOFIT_HEIGHT='YES' MINIMIZE_STYLE='YES'&lt;BR /&gt;ABSOLUTE_COLUMN_WIDTH='30'&lt;BR /&gt;ORIENTATION='LANDSCAPE' SCALE='75');&lt;/P&gt;
&lt;P&gt;RUN;&lt;/P&gt;
&lt;P&gt;TITLE 'TESTING AS OF MAY2021';&lt;/P&gt;
&lt;P&gt;PROC REPORT DATA=TEMP1 NOWD SPLIT='*' ;&lt;BR /&gt;COLUMN X;&lt;BR /&gt;DEFINE X / 'ACCOUNT'&amp;nbsp;&lt;BR /&gt;style={tagattr='format:00000000000000000'};&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;ODS _ALL_ CLOSE;&lt;BR /&gt;ODS LISTING;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 13:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754744#M25116</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2021-07-17T13:46:37Z</dc:date>
    </item>
    <item>
      <title>SAS Stored process download a large file as excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754570#M25112</link>
      <description>&lt;P&gt;We have a stored process which gives excel report to users. This get stuck when we try to download a large dataset having around 500 K observations due to insufficient memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using below code, is there a way we can download such a large file using ODS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');&lt;BR /&gt;rc = stpsrv_header('Content-disposition',"attachment; filename=test.xlsx");&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods excel file = _webout style=Plateau;&lt;BR /&gt;libname in_lib '/data/users/report/';&lt;/P&gt;&lt;P&gt;proc print data=in_lib.trans_detail;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754570#M25112</guid>
      <dc:creator>PRAVIN_JAIN</dc:creator>
      <dc:date>2021-07-16T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Generating native .XLS files with ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-native-XLS-files-with-ODS-Excel/m-p/754082#M25101</link>
      <description>&lt;P&gt;Hi all, I know the ODS Excel destination allows for native .XLSX files, but is there a way to generate older .XLS files using ODS Excel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with an old system/application that only allows for XLS files.&amp;nbsp; I know there is proc export and other options to output as an .XLS however I need the functionality of ODS to get the formatted output I'm looking for.&amp;nbsp; Also I don't want to tagsets - I have a macro that uses DDE to open the .xml file and save it as a true .xls file, however this is not reliable in a batch environment.&amp;nbsp; Hoping there is an argument/parameter I'm not familiar with when using ODS Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;AA&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 14:24:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-native-XLS-files-with-ODS-Excel/m-p/754082#M25101</guid>
      <dc:creator>aandrewn</dc:creator>
      <dc:date>2021-07-14T14:24:52Z</dc:date>
    </item>
    <item>
      <title>Frame webpage not working with ods destination as html and table of contents webpage not working</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Frame-webpage-not-working-with-ods-destination-as-html-and-table/m-p/752639#M25099</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on this program that I have written. The program is to create a table of contents webpage with ods destination as html.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run this program, I do get a downloadable file with the names of the html webpages that I have created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of things do not run correctly from this program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, the frame webpage contains the body (output of print and means procedures) and the table of contents.&lt;/P&gt;&lt;P&gt;When I click on the table of contents meaning the links associated with the output of the procedure..it is giving me a blank page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, when I open the contents webpage, the table of contents are displayed correctly however when I click one each link to see the output of each procedure..it is showing me outputs of both procedures. This is not correct, because I should see the output of print procedure only when I click the print procedure link in the table of contents webpage..same goes for the other link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help me in figuring out the solution..much appreciated. The name of the data set is called test_scores which is saved in a library named marchlib.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following program 19.2 (pg. 327) from the textbook named learning sas by example 2nd edition..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program is below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;*create table of contents with ods html statement and options;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods html body='test_scores_Body.html'&lt;BR /&gt;contents = 'test_scores_Contents.html'&lt;BR /&gt;frame = 'test_scores_Frame.html'&lt;BR /&gt;path = "/home/u58138201/Practice/junelib_folder" (url=none);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*define proc print procedure;&lt;BR /&gt;title "Listing of Test_Scores";&lt;BR /&gt;title2 "Sample of HTML Outputs-all defaults";&lt;/P&gt;&lt;P&gt;proc print data=marchlib.test_scores;&lt;BR /&gt;id ID;&lt;BR /&gt;var Score1-Score3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*define proc means procedure;&lt;BR /&gt;title "Descriptive Statistics for Test_scores dataset";&lt;BR /&gt;proc means data=marchlib.test_scores n nmiss mean min max maxdec=2;&lt;BR /&gt;var Score1-Score3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*close html tag;&lt;BR /&gt;ods html close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 18:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Frame-webpage-not-working-with-ods-destination-as-html-and-table/m-p/752639#M25099</guid>
      <dc:creator>rhafsa</dc:creator>
      <dc:date>2021-07-07T18:18:48Z</dc:date>
    </item>
    <item>
      <title>When is ods path .... (write)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750955#M25092</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you think of an example where &lt;CODE&gt;ods path ....(write)&lt;/CODE&gt; is used ?&amp;nbsp; &lt;CODE&gt;ods path ....(read/update)&lt;/CODE&gt; usually do what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 13:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750955#M25092</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-06-29T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Align Top in Proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749366#M25086</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have proc tabulate below and want to align my column to top. I have tried using vjust=T but that does not work. Maybe I am not putting vjust in the right place. Can someone please help here. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Proc Tabulate&lt;/STRONG&gt;&amp;nbsp;DATA=WORK.FINAL_RESULT f=&lt;STRONG&gt;10.2&lt;/STRONG&gt; S=[foreground=black just = c]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VAR Acct_ID;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLASS "Group of Deals"n;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLASS Week;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; classlevels Week/style = {font_weight=bold&amp;nbsp; width=&lt;STRONG&gt;1.5&lt;/STRONG&gt;in};&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; classlevels "Group of Deals"n /style = {font_weight=bold width=&lt;STRONG&gt;1&lt;/STRONG&gt;in just =c };&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE /* Row Dimension */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week= '' all='Total',&lt;/P&gt;
&lt;P&gt;/* Column Dimension */&lt;/P&gt;
&lt;P&gt;'Group of Deals'n = ''*(Acct_ID=''*N='') All=''*n='Total' ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 19:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749366#M25086</guid>
      <dc:creator>sasuser_sk</dc:creator>
      <dc:date>2021-06-21T19:32:16Z</dc:date>
    </item>
    <item>
      <title>Unicode Characters being ignored in report output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unicode-Characters-being-ignored-in-report-output/m-p/748230#M25083</link>
      <description>&lt;P&gt;I am trying to re-use an existing format&amp;nbsp; which includes some Unicode Characters in it.&amp;nbsp; However, The report which I intend to use this format&amp;nbsp; (HTML Output) does not resolve the unicode characters in a desired format. The other legacy report that uses the same format is displaying the resolved values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wondering if there is any option to enforce the&amp;nbsp;unicode characters in the report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the sample code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
	value $mtrcspc
		New_Acct_EOM_Purch_Amt="New Acct (^{unicode 2264}12 MOB) Month-end Purchase Sales (in MM)"
		New_Acct_EOC_Purch_Pct="% New Acct (^{unicode 2264}12 MOB) Month-end Sales";
run;

data have;
col1="New_Acct_EOM_Purch_Amt";output;
col1="New_Acct_EOC_Purch_Pct";output;
run;


proc print data=have;
	var col1;
	format col1 $mtrcspc.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 22:01:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unicode-Characters-being-ignored-in-report-output/m-p/748230#M25083</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2021-06-15T22:01:13Z</dc:date>
    </item>
    <item>
      <title>The REPORT procedure: Formatting a row based on the value of one cell in that row.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-REPORT-procedure-Formatting-a-row-based-on-the-value-of-one/m-p/747976#M25070</link>
      <description>&lt;P&gt;Consider the example here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p14xegao6xt0xnn1865r422tpytw.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p14xegao6xt0xnn1865r422tpytw.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Under the heading, "Using a Format to Assign a Style Attribute Value", you'll see an example where cells are highlighted red if its value is negative.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would I highlight the &lt;EM&gt;entire row&lt;/EM&gt; as red if the value in the difference column were negative?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Taking this one step further: Can&amp;nbsp; I make &lt;EM&gt;the selected&amp;nbsp; row&lt;/EM&gt; bold, red, and 18 pt, without having to use three separate formats (one for size, one for color, and one for font_weight?)&lt;BR /&gt;&lt;BR /&gt;I can do this with PROC TEMPLATE using CELLSTYLE AS, but I can't find the solution for proc report.&amp;nbsp; Possibly can I use PROC TEMPLATE on the template that PROC REPORT uses?&lt;BR /&gt;&lt;BR /&gt;&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, 14 Jun 2021 22:12:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-REPORT-procedure-Formatting-a-row-based-on-the-value-of-one/m-p/747976#M25070</guid>
      <dc:creator>mftuchman</dc:creator>
      <dc:date>2021-06-14T22:12:40Z</dc:date>
    </item>
    <item>
      <title>Different data sets in multiple excel sheet</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/747896#M25063</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have multiple result sets that I saved using OneWayFreqs and I want to export them to one excel file with multiple sheets. Could you help me with that?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 18:02:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/747896#M25063</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2021-06-14T18:02:15Z</dc:date>
    </item>
    <item>
      <title>Can I assign a style by using a "class" defined in Proc Template?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-I-assign-a-style-by-using-a-quot-class-quot-defined-in-Proc/m-p/747895#M25062</link>
      <description>&lt;P&gt;I don't know how to Google this; perhaps I'm getting this wrong.&amp;nbsp; The premise to the idea I'm wondering is this; is it that Proc Templates are suppose to work like CSS.&amp;nbsp; If I'm right, something like this can be done.&amp;nbsp; Or should I just use macros?&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;lt;[EDIT]&amp;gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;What I am wanting to do below is to define a label "&lt;CODE class=" language-sas"&gt;TitlePageTitle&lt;/CODE&gt;" for which I associate font attributes.&amp;nbsp; Later, in a (general) procedure, I wish to be able to call that label, using &lt;CODE class=" language-sas"&gt;/STYLE=&lt;/CODE&gt;, and have all font attributes applied to the object in the statement.&amp;nbsp; Much like a &lt;A href="https://www.w3schools.com/tags/att_class.asp" target="_self"&gt;class attribute in HTML.&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;                                                                
  define style Styles.F_Report;                                              
    parent = Styles.HTMLBW;  
    class fonts                                                             
         "Fonts used in the default style" /   
      'TitlePageTitle' = ( "Times New Roman",28pt,Bold Italic)
      'docFont'  = ("Arial Narrow, Helvetica, sans-serif",10pt);
   end;                                                                       
run;

ods PDF
  style=Styles.F_Report
  STARTPAGE=NEVER;

proc ODStext;
p "County Facilities" /STYLE={class=TitlePageTitle};
p "Average Population" /STYLE={class=TitlePageTitle};
p ;
p "[[Date here]]";		                 		/*October 2020*/
p ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Can-I-assign-a-style-by-using-a-quot-class-quot-defined-in-Proc/m-p/747895#M25062</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-06-15T13:33:17Z</dc:date>
    </item>
    <item>
      <title>How to highlight specific text with color at ODS PDF output?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-highlight-specific-text-with-color-at-ODS-PDF-output/m-p/747882#M25061</link>
      <description>&lt;P&gt;Hi, I wonder how to change the background color of a text string via ODS PDF. It works at ODS RTF, but I don't know why it does not work at ODS PDF. Here is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data aaa;
a=cat('abc',"^{style[backgroundcolor=pink foreground=red]defg}","hi");
output;
a=cat('abc',"^{style[background=pink foreground=red]defg}","hi");
output;
run;

ods escapechar='^';
ods pdf file="test.pdf";&lt;BR /&gt;ods rtf file="test.pdf";
proc print data=aaa;
run;
ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The ODS RTF output returns this, and that is what I want: red text with pink background.&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="abcg_0-1623690328098.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60367i296B95FFBF4BF372/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abcg_0-1623690328098.png" alt="abcg_0-1623690328098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But ODS PDF output returns just red text, background color does not change.&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="abcg_1-1623690355431.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60368i957E26A7EE41F8E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abcg_1-1623690355431.png" alt="abcg_1-1623690355431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone show me any issue from my code? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 17:14:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-highlight-specific-text-with-color-at-ODS-PDF-output/m-p/747882#M25061</guid>
      <dc:creator>abcg</dc:creator>
      <dc:date>2021-06-14T17:14:20Z</dc:date>
    </item>
    <item>
      <title>proc template - class data cellwidth= and line statements (PDF destination)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-template-class-data-cellwidth-and-line-statements-PDF/m-p/746554#M25058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here are three examples. Two work as expected in a PDF destination but not the third one (column width for the line statement) Do you think the output is as expected or a bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1/ In this example, everything is as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="&amp;amp;test./reporting/test1.pdf";

proc report data=sashelp.class style(column)=[cellwidth=2cm]; 
    column name--weight; 
    define name--weight   / display; 
    
    compute before;
        line 'Test ';
    endcomp; 
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2/ But here, one has to use the linecontent class for the output to look ok in a PDF; it is fine in a HTML destination.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
    define style styles.xxtest;
        parent = styles.pearl;
        class data 
            / outputwidth         = 2cm;
            
        *class linecontent 
            / outputwidth         = 10cm;
            
    end;
run;
                       
*--------------------------------------------------------------------------------;
                                              
ods pdf file="&amp;amp;test./reporting/test2.pdf" style=xxtest;

proc report data=sashelp.class; 
    column name--weight; 
    define name--weight   / display; 
    
    compute before;
        line 'Test ';
    endcomp; 
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;3/ The alternative with class header works properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
    define style styles.xxtest;
        parent = styles.pearl;
   
        class header 
            / outputwidth         = 2cm;
    end;
run;
                       
*--------------------------------------------------------------------------------;
                                              
ods pdf file="&amp;amp;test/reporting/test3.pdf" style=xxtest;

proc report data=sashelp.class; 
    column name--weight; 
    define name--weight   / display; 
    
    compute before;
        line 'Test ';
    endcomp; 
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Unexpected output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="notok.JPG" style="width: 490px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60153i551B2C09DF797AC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="notok.JPG" alt="notok.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ok.JPG" style="width: 494px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60152i4835B29AF25AAEEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="ok.JPG" alt="ok.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 12:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-template-class-data-cellwidth-and-line-statements-PDF/m-p/746554#M25058</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-06-09T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Color a table cell using PROC REPORT, using a numeric variable that is different from cell variable</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-a-table-cell-using-PROC-REPORT-using-a-numeric-variable/m-p/744532#M25050</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to color a cell of a table using PROC REPORT, but using a variable that is different from the variable that is in the cell.&amp;nbsp; The problem is reproduceable from this following simple program, and described in greater detail following the simple program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input a b c;
cards;
1 2 3
1 2 4
1 2 4
2 4 5
2 4 1
2 4 6
;

proc print;
var a b c;
run;


proc report data=test nowindows headline headskip;
columns a b c ;
define a / display ' Level ' width =6;
define b / display ' Home ' width =6;
define c / display ' color' width = 6;
compute b;
if b &amp;gt; 3 then call define(_col_,"style","style={background = red");
endcompute;
*compute a;
* if c &amp;gt; 4 then call define(_col_,"style","style={background = green");
* endcompute;
compute a;
if _c3_ &amp;gt; 4 then call define(_col_,"style","style={background = green");
endcompute;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above program, the first compute statement colors the Home column cells red for those cells where the Home column is greater than 3.&amp;nbsp; This works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would really like to color the cells of Level green, based on the values of the color column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second compute statement (that is commented out) does the obvious, which does not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The third compute statement uses the _Cn_ approach to identifying the column to create the color values. No error or warnings are produced, but the colored cells do not appear on the table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The resulting table should have two cells in the Level column colored green.&amp;nbsp; The 4th and 6th cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the reason wanting to do this is not clear from&amp;nbsp; the test data, but makes sense in the table I am creating.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts from would be greatly appreciated. (Note I could not find anything on this in my searching of the archives).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 19:46:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-a-table-cell-using-PROC-REPORT-using-a-numeric-variable/m-p/744532#M25050</guid>
      <dc:creator>Dan16</dc:creator>
      <dc:date>2021-05-28T19:46:14Z</dc:date>
    </item>
    <item>
      <title>Writing ods output to SAS EG results only</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Writing-ods-output-to-SAS-EG-results-only/m-p/744893#M25049</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a simple program which would run a git status on a folder and do one of the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if there is nothing to commit, write a line to the result window stating this&lt;/LI&gt;&lt;LI&gt;if there are changes, write that and show what needs to be committed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I got most of the way there, but the text gets written to the "path" column. I would like to write it outside of the table:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
	length path $255 status $10 staged $5;
	array gitstats path status staged;
	drop files n rc;
	files = git_status("&amp;amp;folder");
	file print ods=(variables=(path status staged));

	if files GT 0 then
		do;
			put "The following changes are present in the directory, please check:";

			do n = 1 to files;
				do over gitstats;
					rc = git_status_get(n, "&amp;amp;folder", vname(gitstats), gitstats);
				end;

				put _ods_;
			end;
		end;
	else put "The folder is clean";
	rc = git_status_free("&amp;amp;folder");
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How can I achieve this? Thanks for the help in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 09:36:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Writing-ods-output-to-SAS-EG-results-only/m-p/744893#M25049</guid>
      <dc:creator>js5</dc:creator>
      <dc:date>2021-06-01T09:36:07Z</dc:date>
    </item>
    <item>
      <title>ODS output tables with variable names as numbers in SAS OnDemand</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-output-tables-with-variable-names-as-numbers-in-SAS-OnDemand/m-p/744343#M25037</link>
      <description>&lt;P&gt;When using ODS Output I discovered that in SAS OnDemand some tables have variable names as numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously in SAS Studio University Edition, those same variables would have had an underscore prefix. eg _1 _2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How am I to refer to these fields in a subsequent statement without getting an error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a simplified version of what I'm doing. I fit a GLM model and send the LSMeans Difference output to a table. I then try to refer to it but fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/* run the model and generate the ODS Output data */&lt;BR /&gt;proc glm data=TEST;
	class FactorA FactorB FactorC;
	model Outcome = FactorA FactorB FactorC;
	lsmeans FactorA FactorB FactorC / adjust=tukey pdiff=all alpha=0.05 cl;
	ods output diff = GLM_DIFF;
run;

/* previously offline this would work */&lt;BR /&gt;proc means data = GLM_DIFF;
	var _1 _2 _3;
run;&lt;BR /&gt;&lt;BR /&gt;/* but fields are now 1 2 3 */&lt;BR /&gt;/* and this fails */&lt;BR /&gt;proc means data = GLM_DIFF; &lt;BR /&gt;        var 1 2 3;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;I can't figure out what the correct syntax should be. Can someone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 08:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-output-tables-with-variable-names-as-numbers-in-SAS-OnDemand/m-p/744343#M25037</guid>
      <dc:creator>markgewhite</dc:creator>
      <dc:date>2021-05-28T08:37:08Z</dc:date>
    </item>
    <item>
      <title>Possibility of creating report of list of SAS files in the folder with specific phrase</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Possibility-of-creating-report-of-list-of-SAS-files-in-the/m-p/744167#M25035</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create a report through SAS that is similar to the spreadsheet below? The goal is search specific phrase within the SAS files in the folder/path and put it as a report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;File Report&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;file name&lt;/TD&gt;&lt;TD&gt;Data step&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Proc SQL&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Proc Format&lt;/TD&gt;&lt;TD&gt;Proc Freq&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;sample1.sas&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;sample2.sas&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;sample3.sas&lt;/TD&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;TD&gt;YES&lt;/TD&gt;&lt;TD&gt;NO&lt;/TD&gt;&lt;TD&gt;NO&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;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Possibility-of-creating-report-of-list-of-SAS-files-in-the/m-p/744167#M25035</guid>
      <dc:creator>tmdgus</dc:creator>
      <dc:date>2021-05-27T14:41:26Z</dc:date>
    </item>
    <item>
      <title>Limiting PDF bookmarks to one per file with IMPORT TO in PROC DOCUMENT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-PDF-bookmarks-to-one-per-file-with-IMPORT-TO-in-PROC/m-p/743807#M25028</link>
      <description>&lt;P&gt;I'm reading existing text files containing new-page characters into PROC DOCUMENT, but to paginate them correctly in ODS PDF I have to replay the individual pages separately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the file processing I've extracted the 2 title lines of each file into &amp;amp;line3 and &amp;amp;line4, and I'd really like those macro variables to be used in a bookmark for only the 1st page of each file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro import_text(file=, orient=landscape);
  filename source catalog 'work.import';

  data _null_;
    length line $120;
    retain i prev_n 0;
    infile &amp;amp;file. truncover end = eof;
    input line $char120.;
    file source(import.source);
    if _N_ = 3 then call symput('line3', strip(line));
    else if _N_ = 4 then call symput('line4', strip(line));
    else if substr(line, 1, 1) = '0C'x then do;
      ** If first character is page break, then generate replay **;
      i + 1;
      if i = 1 then do;
        put 'replay textfile (where = (_obs_ lt ' _N_ '));';
      end;
      else do;
        put 'replay textfile (where = (' prev_n ' le _obs_ lt ' _N_ '));';
      end;
      prev_n = _N_;
    end;
    if eof then do;
      put 'replay textfile (where = (' prev_n ' le _obs_));';
    end;
  run;
    
  options orientation = &amp;amp;orient. nodate;

  title " ";

  proc document name = import(write);
    import textfile = &amp;amp;file. to ^;
    obpage \textfile / after;
    setlabel ^ "&amp;amp;line3.: &amp;amp;line4.";
    %include source(import.source) / source2;
  run;
  quit;
%mend import_text;

ods listing close;

ods pdf file = "~/osi_listings/output/osi_listings.pdf"
       pdftoc = 1 contents = yes;

%import_text(file="~/osi_listings/output/lo_hru.L10")
%import_text(file="~/osi_listings/output/lo_s_dth.L10")
%import_text(file="~/osi_listings/output/lo_s_ae_irr.L10")

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, when I generate the PDF files I'm getting bookmarks for every page with the full path name of that file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS Communities - TOC 2021-05-26.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59758iF7679E441A215E88/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS Communities - TOC 2021-05-26.png" alt="SAS Communities - TOC 2021-05-26.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I update my program to use&amp;nbsp;&amp;amp;line3 and &amp;amp;line4 in the bookmarks instead?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 14:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-PDF-bookmarks-to-one-per-file-with-IMPORT-TO-in-PROC/m-p/743807#M25028</guid>
      <dc:creator>hollandnumerics</dc:creator>
      <dc:date>2021-05-26T14:20:58Z</dc:date>
    </item>
    <item>
      <title>ODS layout Gridded won't publish all tables in ONE PAGE!</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743571#M25020</link>
      <description>&lt;P&gt;I'm using ODS layout gridded and ODS PDF to publish 6 tables (2 rows and 3 columns) in one page.&lt;/P&gt;&lt;P&gt;However, SAS keeps separating the tables into three pages and publishes two tables on each page only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already stated STARTPAGE=NO in the options.&lt;/P&gt;&lt;P&gt;What else am I missing?&lt;/P&gt;&lt;P&gt;I use 6 ODS REGION statements along with the ODS GRIDDED:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Options nodate nonumber /*nocenter*/ orientation=landscape /*papersize=A4*/ leftmargin=0.25in rightmargin=0.001in bottommargin=0.001in; /*avoid date and timestamp on pdf outputs*/&lt;BR /&gt;ods pdf file='/test.pdf' NOGTITLE NOGFOOTNOTE STARTPAGE=no;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods escapechar='~';&lt;/P&gt;&lt;P&gt;ods layout gridded&lt;BR /&gt;columns=2 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text1';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c ] format=comma12.2;&lt;BR /&gt;class servbd /order=data preloadfmt mlf;&lt;BR /&gt;class band2 /order=data preloadfmt mlf;&lt;BR /&gt;var pri;&lt;BR /&gt;table&lt;BR /&gt;servbd='Years of Service' ALL='Total'*{style=[font_weight=bold]},&lt;BR /&gt;band2='Age Groups'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]}&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ' and status=1;&lt;BR /&gt;format servbd $servbd. band2 $Band2_.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text2';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class retfy /order=data preloadfmt mlf;&lt;BR /&gt;class branch;&lt;BR /&gt;var pri;&lt;BR /&gt;table&lt;BR /&gt;retfy='Fiscal Years' ALL='Total'*{style=[font_weight=bold]}, pri=''*(N='Number' colpctn='%'*f=pctfmt.*{style=[font_weight=bold]})/*Add column here*/&lt;BR /&gt;/printmiss misstext='0';&lt;BR /&gt;where region='HQ' and status=1;&lt;BR /&gt;format retfy $retfy. ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text3';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class group /order=data preloadfmt mlf;&lt;BR /&gt;class level /order=data preloadfmt mlf;&lt;BR /&gt;class branch;&lt;BR /&gt;var pri;&lt;BR /&gt;table&lt;BR /&gt;group='Group' ALL='Total'*{style=[font_weight=bold]},&lt;BR /&gt;level='Level'*(N='') ALL='Total'*(n='Total' colpctn='%'*f=pctfmt.)*{style=[font_weight=bold]}&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ' and status=1;&lt;BR /&gt;format group $group. level $level.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region ;&lt;BR /&gt;ods text='Text4';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class sex/order=data preloadfmt mlf;&lt;BR /&gt;class branch;&lt;BR /&gt;var age psserv ;&lt;BR /&gt;table&lt;BR /&gt;sex='Gender' all='Total'*{style=[font_weight=bold]}, age*(mean=''*f=8.1) psserv='Years of Service'*(mean=''*f=8.1)*{style=[just=c ]}&lt;/P&gt;&lt;P&gt;/box='Average' printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ' and status=1;&lt;BR /&gt;format sex $sex. ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region;&lt;BR /&gt;ods text='Text5';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class status /order=data preloadfmt mlf;;&lt;/P&gt;&lt;P&gt;class branch;&lt;BR /&gt;var pri ;&lt;BR /&gt;table branch='Program' ALL='Total'*{style=[font_weight=bold just=c]},&lt;/P&gt;&lt;P&gt;status='Employment Type'*(n='') ALL='Total'*{style=[font_weight=bold just=c]}*(n='Total' colpctn='%'*f=pctfmt.)&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ';&lt;BR /&gt;format branch $program. status status.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods region;&lt;BR /&gt;ods text='Text6';&lt;BR /&gt;proc tabulate data=sep_dataset s=[just=c] format=comma12.2;&lt;BR /&gt;class sex /order=data preloadfmt mlf;&lt;BR /&gt;class status;&lt;/P&gt;&lt;P&gt;class branch;&lt;BR /&gt;var pri ;&lt;BR /&gt;table&lt;BR /&gt;sex='Gender' all='Total'*{style=[font_weight=bold just=c]}, status='Employment Type'*(N='') ALL='Total'*{style=[font_weight=bold just=c]}*(N='')&lt;BR /&gt;/printmiss misstext='0';&lt;/P&gt;&lt;P&gt;where region='HQ'; *FOR HQ TABLES ONLY;&lt;BR /&gt;format sex $sex. status status.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;footnote1 j=left 'footnote';&lt;BR /&gt;ods layout end;&lt;BR /&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:50:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-layout-Gridded-won-t-publish-all-tables-in-ONE-PAGE/m-p/743571#M25020</guid>
      <dc:creator>paris_bloom</dc:creator>
      <dc:date>2021-05-25T14:50:25Z</dc:date>
    </item>
    <item>
      <title>It is possible to use a format as value for a url= style option?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/It-is-possible-to-use-a-format-as-value-for-a-url-style-option/m-p/743249#M25014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is possible to use a format as value for a url= style option?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 1 - Same URL for all the values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='eg1.pdf';

proc report data=class spanrows; 
    column sex--weight;
    define sex / order style(column)=[url = 'https://sas.com'];
    define height--weight  / display;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example 2 - Using a format (doesn't work)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
    value $ url 'M'='https://sas.com'
                'F'='https://communities.sas.com/';
run;

ods pdf file='eg2.pdf';

proc report data=class spanrows; 
    column sex--weight;
    define sex / order style(column)=[url = $url.];
    define height--weight  / display;

run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Example 3 - Using call define (workaround)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='eg3.pdf';

proc report data=class spanrows; 
    column sex--weight;
    define sex / order;
    define height--weight  / display;
    
    compute sex;
        if sex='M' then call define (_COL_,'url','https://sas.com');
        else call define (_COL_,'url','https://communities.sas.com/');
    endcomp;
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 18:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/It-is-possible-to-use-a-format-as-value-for-a-url-style-option/m-p/743249#M25014</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-05-23T18:14:16Z</dc:date>
    </item>
    <item>
      <title>writing source code to a pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/writing-source-code-to-a-pdf/m-p/741962#M24999</link>
      <description>&lt;P&gt;I would like to write the source code to a pdf, before displaying the results of the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use a series of ods pdf text=""; statements, and insert new lines and spacing as needed, but is there a way to put pre formatted text, like with an html &amp;lt;pre&amp;gt; tag so that I do not have to add all the escape characters with newline and nbspace to the source code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 19:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/writing-source-code-to-a-pdf/m-p/741962#M24999</guid>
      <dc:creator>jtcowder</dc:creator>
      <dc:date>2021-05-17T19:13:45Z</dc:date>
    </item>
    <item>
      <title>Is there any difference between style and style/replace of call define?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/741396#M24998</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can understand that first something needs to be defined in order to be replaced&lt;/P&gt;&lt;P&gt;but I cannot figure out a case where there would be a difference in the output of a &lt;CODE&gt;call define&lt;/CODE&gt; based on the used of &lt;CODE&gt;style&lt;/CODE&gt; instead of &lt;CODE&gt;style/replace&lt;/CODE&gt; making &lt;CODE&gt;style/replace&lt;/CODE&gt; an alias of &lt;CODE&gt;style&lt;/CODE&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know any cases where the output would be different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 12:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Is-there-any-difference-between-style-and-style-replace-of-call/m-p/741396#M24998</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-05-14T12:19:40Z</dc:date>
    </item>
    <item>
      <title>ODS PDF knowing how many rows before page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/741138#M24996</link>
      <description>&lt;P&gt;I have a task to create a pdf report.&amp;nbsp; I have the report generating but I have some table headings on the last line of one page and the data on the next page.&lt;/P&gt;
&lt;P&gt;Is there a way to check how many lines are left on a page and if it's not enough add a new page at that point?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 14:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-knowing-how-many-rows-before-page-break/m-p/741138#M24996</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2021-05-13T14:59:28Z</dc:date>
    </item>
    <item>
      <title>Why call define works with display variables but not with analysis variables ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-call-define-works-with-display-variables-but-not-with/m-p/740426#M24994</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why &lt;CODE&gt;call define&lt;/CODE&gt; works with &lt;CODE&gt;display&lt;/CODE&gt; variables but not with &lt;CODE&gt;analysis&lt;/CODE&gt; variables ?&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;
    column name--height;
    define name   / display;
    define sex    / display;
    define age    / display;
    *define age   / analysis mean;
    define height / analysis mean;
    
    compute age;
       if age=12 then call define(_row_,'style','style=[background=lightpink]');
    endcomp;
    
    rbreak after / summarize;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When &lt;CODE&gt;age&lt;/CODE&gt; is used as display the row where age=12 will be in lightpink, but by definition, the mean won't be available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we change &lt;CODE&gt;age&lt;/CODE&gt; to &lt;CODE&gt;analysis&lt;/CODE&gt; mean, the mean will be calculated but the rows won't be in lightpinkt.&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 10:45:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Why-call-define-works-with-display-variables-but-not-with/m-p/740426#M24994</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-05-11T10:45:27Z</dc:date>
    </item>
    <item>
      <title>Space Between Tables ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Space-Between-Tables-ODS-PDF/m-p/735548#M24982</link>
      <description>&lt;P&gt;I used the PARSKIP functionality as shown in the template below, but it did not affect the spacing between the tables in ODS PDF. Was it applied incorrectly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
define style styles.BlueK;
	parent=styles.pearl;
	
	class colors /                                                  
		'link2' = cx0000FF
		'link1' = cx800080
		'docbg' = cxFAFBFE
		'contentbg' = cxFAFBFE
		'systitlebg' = cxFAFBFE
		'titlebg' = cxFAFBFE
		'proctitlebg' = cxFFFFFF
		'headerbg' = cxEDF2F9
		'captionbg' = cxFAFBFE
		'captionfg' = cx112277
		'bylinebg' = cxFAFBFE
		'notebg' = cxFAFBFE
		'tablebg' = cxFAFBFE
		'batchbg' = cxFFFFFF
		'systitlefg' = cx112277
		'titlefg' = cx112277
		'proctitlefg' = cx112277
		'bylinefg' = cx112277
		'notefg' = cx112277;
	class Header /
	bordercolor = cxB0B7BB
	backgroundcolor = cxEDF2F9
	color = cx112277;
	class RowHeader /
	bordercolor = cxB0B7BB
	backgroundcolor = cxEDF2F9
	color = cx112277;
	class fonts /
		'TitleFont2' = ("&amp;lt;sans-serif&amp;gt;, &amp;lt;MTsans-serif&amp;gt;, Helvetica, Helv",2, bold)
		'TitleFont' = ("&amp;lt;sans-serif&amp;gt;, &amp;lt;MTsans-serif&amp;gt;, Helvetica, Helv",3,bold)
		'StrongFont' = ("&amp;lt;sans-serif&amp;gt;, &amp;lt;MTsans-serif&amp;gt;, Helvetica, Helv",2, bold)
		'EmphasisFont' = ("&amp;lt;sans-serif&amp;gt;, &amp;lt;MTsans-serif&amp;gt;, Helvetica, Helv",2, italic)
		'FixedFont' = ("&amp;lt;monospace&amp;gt;, Courier",2)
		'BatchFixedFont' = ("SAS Monospace, &amp;lt;monospace&amp;gt;, Courier, monospace",2)
		'FixedHeadingFont' = ("&amp;lt;monospace&amp;gt;, Courier, monospace",2)
		'FixedStrongFont' = ("&amp;lt;monospace&amp;gt;, Courier, monospace",2,bold)
		'FixedEmphasisFont' = ("&amp;lt;monospace&amp;gt;, Courier, monospace",2,italic)
		'headingEmphasisFont' = ("&amp;lt;sans-serif&amp;gt;, &amp;lt;MTsans-serif&amp;gt;, Helvetica, Helv",2,bold italic)
		'headingFont' = ("&amp;lt;sans-serif&amp;gt;, &amp;lt;MTsans-serif&amp;gt;, Helvetica, Helv",2, bold)
		'docFont' = ("&amp;lt;sans-serif&amp;gt;, &amp;lt;MTsans-serif&amp;gt;, Helvetica, Helv",2);
	class Table /
	cellpadding = 2pt;
	style systemfooter from titlesandfooters /
		font_weight=light
		font_size=8pt;
	Style parskip / fontsize=4Pt;
	end;
	run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Apr 2021 13:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Space-Between-Tables-ODS-PDF/m-p/735548#M24982</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2021-04-20T13:28:11Z</dc:date>
    </item>
    <item>
      <title>Decimal alignment and Page numbering</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Decimal-alignment-and-Page-numbering/m-p/735314#M24978</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am struggling to align counts and decimals in this table and also to have page Xof Y.&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached the tables observations to be used as example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tables data:&lt;/P&gt;
&lt;P&gt;COHORT AESOC AEPT sot cat _NAME_ _LABEL_ Not_related Possible Probable Unlikely Total sort _page cnt Not_Related1 Unlikely1 Possible1 Probable1 TOTAL1 _empty&lt;BR /&gt;UC Ulcerative Colitis (N=28) COUNT Frequency Count 4 11 0 7 22 1 1 1 4 (14.3) 7 (25.0) 11 (39.3) 0 (0.0) 22 (16.5) &lt;BR /&gt;UC 1 Number of Subjects with Any TEAE COUNT Frequency Count 2 10 0 7 19 1 1 2 2 (7.1) 7 (25.0) 10 (35.7) 0 (0.0) 19 (14.3) &lt;BR /&gt;UC Cardiac disorders 2 Cardiac Disorders COUNT Frequency Count 0 1 0 1 2 1 1 3 0 (0.0) 1 (3.6) 1 (3.6) 0 (0.0) 2 (1.5) &lt;BR /&gt;UC Cardiac disorders Palpitations 2.1 Palpitations COUNT Frequency Count 0 1 0 1 2 1 1 4 0 (0.0) 1 (3.6) 1 (3.6) 0 (0.0) 2 (1.5) &lt;BR /&gt;UC Eye disorders 2 Eye Disorders COUNT Frequency Count 1 0 0 0 1 1 1 5 1 (3.6) 0 (0.0) 0 (0.0) 0 (0.0) 1 (0.8) &lt;BR /&gt;UC Eye disorders Corneal abrasion 2.1 Corneal Abrasion COUNT Frequency Count 1 0 0 0 1 1 1 6 1 (3.6) 0 (0.0) 0 (0.0) 0 (0.0) 1 (0.8) &lt;BR /&gt;UC Gastrointestinal disorders 2 Gastrointestinal Disorders COUNT Frequency Count 2 3 0 2 7 1 1 7 2 (7.1) 2 (7.1) 3 (10.7) 0 (0.0) 7 (5.3) &lt;BR /&gt;UC Gastrointestinal disorders Colitis ulcerative 2.1 Colitis Ulcerative COUNT Frequency Count 2 0 0 0 2 1 1 8 2 (7.1) 0 (0.0) 0 (0.0) 0 (0.0) 2 (1.5) &lt;BR /&gt;UC Gastrointestinal disorders Frequent bowel movements 2.1 Frequent Bowel Movements COUNT Frequency Count 0 0 0 1 1 1 1 9 0 (0.0) 1 (3.6) 0 (0.0) 0 (0.0) 1 (0.8) &lt;BR /&gt;UC Gastrointestinal disorders Nausea 2.1 Nausea COUNT Frequency Count 0 2 0 0 2 1 1 10 0 (0.0) 0 (0.0) 2 (7.1) 0 (0.0) 2 (1.5) &lt;BR /&gt;UC Gastrointestinal disorders Tooth infection 2.1 Tooth Infection COUNT Frequency Count 0 1 0 0 1 1 1 11 0 (0.0) 0 (0.0) 1 (3.6) 0 (0.0) 1 (0.8)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 16:14:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Decimal-alignment-and-Page-numbering/m-p/735314#M24978</guid>
      <dc:creator>Dinkepile</dc:creator>
      <dc:date>2021-04-19T16:14:15Z</dc:date>
    </item>
    <item>
      <title>style(calldef) unexpected impact on call define ...style/merge... result</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/style-calldef-unexpected-impact-on-call-define-style-merge/m-p/732908#M24969</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering why the &lt;STRONG&gt;style/merge&lt;/STRONG&gt; does not provide the same result when &lt;STRONG&gt;style(calldef)&lt;/STRONG&gt; is activated.&lt;/P&gt;&lt;P&gt;Is it a bug or is there another reason behind this result?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class;* style(calldef)=[foreground=white]; 
    columns name sex age height weight ; 
    define name--weight / display;
    
    compute sex;
        if sex='M' then call define ('name' ,'style','style=[background=lightblue]');
    endcomp;

    compute age;
        if age=12 then call define ('name' ,'style/merge'  ,'style=[foreground=red]');
    endcomp;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps. as requested I had the picture when &lt;CODE class=" language-sas"&gt;* style(calldef)=[foreground=white]; &lt;/CODE&gt;&amp;nbsp;is activated&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="with_calldef.JPG" style="width: 272px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57390i575ECAA32AD24104/image-size/large?v=v2&amp;amp;px=999" role="button" title="with_calldef.JPG" alt="with_calldef.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 08:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/style-calldef-unexpected-impact-on-call-define-style-merge/m-p/732908#M24969</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-04-12T08:35:38Z</dc:date>
    </item>
    <item>
      <title>ods tagsets.rtf properties author and title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-rtf-properties-author-and-title/m-p/732489#M24967</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ods tagsets.rtf to output Word document. I want to change the properties of the Word document, the title and the author. I am able to edit the author of the document, but not the title, it still says "9.4 SAS System Output".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lucie55_1-1617975027634.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57220i23F120D66519258D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lucie55_1-1617975027634.png" alt="lucie55_1-1617975027634.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 13:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-rtf-properties-author-and-title/m-p/732489#M24967</guid>
      <dc:creator>lucie55</dc:creator>
      <dc:date>2021-04-09T13:31:31Z</dc:date>
    </item>
    <item>
      <title>How to Merge cells horizontally in ODS Excel output.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Merge-cells-horizontally-in-ODS-Excel-output/m-p/730820#M24956</link>
      <description>&lt;P&gt;I am looking to achieve the ods excel in specific format mentioned in the image( shaded area) . My main aim to merge cells horizontally. I am ok to manipulate the data as per the output requirement. (like displaying the 150/70 across the hr and Vit variables in original dataset in order to merge horizontally). I am not looking for any colors at this point. Please advice your inputs.&lt;/P&gt;
&lt;P&gt;&lt;LI-USER uid="13549"&gt;&lt;/LI-USER&gt;&amp;nbsp; Can you please take a look and advice when you have chance.&lt;/P&gt;
&lt;P&gt;Thanks everyone.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_1-1617304435751.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56814iCD6249B92F72908A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_1-1617304435751.png" alt="SASuserlot_1-1617304435751.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dummy;
do round = '1st Round', '2nd Round', '3rd Round';;
do time = "12:30", "13:45","14:15";
do HR = 71 to 76 by 2;
do Vit = 15 to 18 by 1;
do height = 150 to 153 by .5;
do weight = 70 to 77 by 2;
do Orient = 'STANDING', 'SITTING','';
output;
end;
end;
end;
end;
end;
end;
end;
run;

proc sort data = dummy; by round Orient time ;run;

data d1;
set dummy;
by round;
if first.round;
Orient=catx("/",strip(put(HEIGHT,best.)),strip(put(weight,best.)));
Comb = 'Height/Weight';
run;

data d2;
set dummy;
by round Orient time;
if first.time;
run;

data d3;
set d2(drop = height weight) d1(keep =round time Orient Comb);
run;


proc sort data = d3; by round Orient time;run;

data d4;
set d3;
by round Orient time;
if last.Orient;
where not missing(Orient);
if hr ^= . then comb= "Vital";
run;
ods ESCAPECHAR = '^';
ods excel file='C:\temp\New folder\dummy1.xlsx' ;


   PROC REPORT data= d4 nowindows missing spanrows 
					      style(report)=[font=("Times New Roman", 11pt) ]
					      style(header)=[font=("Times New Roman", 11pt, bold) just=center borderbottomwidth=4pt bordercolor=black ]
					      style(column)=[font=("Times New Roman", 11pt)  ] ;
      COLUMN    round comb time  (" "  orient hr vit);
      DEFINE round   /   order  "round" group;* style=[just=l vjust=t cellwidth=5 cm borderbottomwidth=4pt bordercolor=black ];
      DEFINE comb   /  order  "comb" display style=[just=l vjust=t cellwidth=6 cm ];
      DEFINE time    /  "Time" order style=[just=c vjust=t cellwidth=1.5 cm ];
      DEFINE orient   /  order  "orient" display style=[just=c vjust=t cellwidth=4 cm ];
      DEFINE hr   /"hr" display style=[just=c vjust=t cellwidth=2cm ];
      DEFINE vit    /"vit" display style=[just=c vjust=t cellwidth=2cm ];
	  *compute before _page_/ style=[font=("Times New Roman", 11pt, bold ) background=white ];
		*line usubjid $varying80. ;
	  *endcomp;
	  run;
ods excel close;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Apr 2021 19:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Merge-cells-horizontally-in-ODS-Excel-output/m-p/730820#M24956</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2021-04-01T19:15:07Z</dc:date>
    </item>
    <item>
      <title>ODS creating and excel output but table error on opening and no report produced</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-creating-and-excel-output-but-table-error-on-opening-and-no/m-p/730740#M24949</link>
      <description>&lt;P&gt;I am having this problem and I think it comes down to some unseen invalid data that causes ODS to give this error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The report has been running fine for several months, I read in chat data and output into a report for review.&amp;nbsp; The chat data is in a csv file.&lt;/P&gt;
&lt;P&gt;Last week I started having an issue where the excel only gives an error message when trying to open.&lt;/P&gt;
&lt;P&gt;There are no errors in the log.&lt;/P&gt;
&lt;P&gt;The box that pops up when trying to open the excel report .&lt;/P&gt;
&lt;P&gt;I have attached a pdf of the box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;When I click ok the excel closes so no report output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to strip any unprintable characters out of the field that contains the chat data but still having the same problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tables look fine, I cannot see any issue or strange data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to figure out how to resolve this.&amp;nbsp; Has anyone else have experience with this?&amp;nbsp; I tried to upload the image of the box I get, but the image failed to upload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any assistance to resolve this issue will be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Elliott&lt;/P&gt;
&lt;DIV id="tinyMceEditorElliott_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 15:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-creating-and-excel-output-but-table-error-on-opening-and-no/m-p/730740#M24949</guid>
      <dc:creator>Elliott</dc:creator>
      <dc:date>2021-04-01T15:23:52Z</dc:date>
    </item>
    <item>
      <title>RTF title statement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/RTF-title-statement/m-p/729781#M24929</link>
      <description>&lt;P&gt;hi，everyone，when I use TITLE&amp;nbsp;statement&amp;nbsp; within Proc report，even I use ‘j=r’&amp;nbsp; the text will be on the right of then page，but will have a small margin between the edge and the text,the text "Page 1 of 1" in first&amp;nbsp;&lt;SPAN&gt;screenshot&lt;/SPAN&gt; has a small space between the true margin. I think it maybe caused by the&amp;nbsp;CellPadding or&amp;nbsp;CellSpacing in 2nd &lt;SPAN&gt;screenshot&lt;/SPAN&gt; ，so I try the statement in proc template，but it didn't work. finally,I find it in RTF original code,it has difference with anothers,please see the 3rd&amp;nbsp;&lt;SPAN&gt;screenshot attached.The text in TITLE statement has the attribution “\cellx14350” and&amp;nbsp;text in FOOTNOTE statement is&amp;nbsp;“\cellx14398”,but the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;main body in table&amp;nbsp;&lt;SPAN&gt;has the attribution “\cellx14400”.I try to modify then to "\cellx14400" manually then the margin in text within TITLE statement and&amp;nbsp;FOOTNOTE&amp;nbsp;statement&amp;nbsp; disappeared,but I don't know where to control it usu code.&lt;/SPAN&gt;&lt;/SPAN&gt;&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;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="page.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56605i19F95E48F941488E/image-size/large?v=v2&amp;amp;px=999" role="button" title="page.png" alt="page.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cellspace.png" style="width: 674px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56606iED00C45AB355F9BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="cellspace.png" alt="cellspace.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cell.png" style="width: 766px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56607i3BFC0FB56766E9ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="cell.png" alt="cell.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 13:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/RTF-title-statement/m-p/729781#M24929</guid>
      <dc:creator>woshibug</dc:creator>
      <dc:date>2021-03-29T13:32:48Z</dc:date>
    </item>
    <item>
      <title>ods tagsets.rtf_sample URL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-rtf-sample-URL/m-p/728818#M24928</link>
      <description>&lt;P&gt;Hi, I am using ods tagsets.rtf_sample to create a Word document, which includes tables, charts, and text sections. I have a paragraph that includes a hyperlink that I want to color and highlight, but not the rest of the paragraph. Currently, URL works on the first part of the text that I don't style, but not on my hyperlink. This is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.rtf_sample text="~S={url='https://www.inspq.qc.ca/'} D'autres résultats peuvent aussi être consultés sur le site internet à l'adresse suivante : ~S={FOREGROUND=#0563c1 textdecoration=underline}www.inspq.qc.ca";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here is what I get, the visual is correct, but the clickable link is not on the hyperlink, only the front text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;D'autres résultats peuvent aussi être consultés sur le site internet à l'adresse suivante : &lt;FONT color="#0000FF"&gt;&lt;U&gt;&lt;A href="http://www.inspq.qc.ca" target="_blank"&gt;www.inspq.qc.ca&lt;/A&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 16:31:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-tagsets-rtf-sample-URL/m-p/728818#M24928</guid>
      <dc:creator>lucie55</dc:creator>
      <dc:date>2021-03-24T16:31:15Z</dc:date>
    </item>
    <item>
      <title>ODS EXCEL - sheet interval options</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-sheet-interval-options/m-p/728536#M24921</link>
      <description>&lt;P&gt;Not sure if I'm missing something obvious here or if there's a bug in ODS EXCEL but this seems to generate an Excel file with two sheets for Asia and then one sheet for each other region.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*sorts your data to use BY logic;
proc sort data=sashelp.cars out=cars;
by origin;
run;



%macro create_report(origin = );
 
 
ods excel options(sheet_interval="NOW" sheet_name = "&amp;amp;origin.");
 
*displays data in Excel sheet;
proc print data=cars;
where origin = "&amp;amp;origin.";
run;

ods excel options(sheet_interval="NONE" sheet_name = "&amp;amp;origin.");

proc sgplot data=cars;
where origin = "&amp;amp;origin.";
scatter x=mpg_city y=mpg_highway / group = type;
run;

%mend;



*removes proc title and by line which are usually printed by default;
ods noptitle;
options nobyline;
options mprint;

*sets file options - notice use of #BYVAL1 in Sheet Name to control sheet names;
ods excel file='/home/fkhurshed/ODS_Example2.xlsx' style=meadow;
 

*create list of origins to run this for;
proc sql;
create table report_list_origins as
select distinct origin
from cars;
quit;

*call macro for each origin;
data _null_;
set report_list_origins;
	str = catt('%create_report(origin=', origin, ');');
	call execute(str);
run;


*closes file;
ods excel close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using SAS Academics On Demand, SAS 9.4M6&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 19:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-sheet-interval-options/m-p/728536#M24921</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-23T19:44:29Z</dc:date>
    </item>
    <item>
      <title>clickable links to download ods (html, excel, pdf, rtf) files from the results page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/clickable-links-to-download-ods-html-excel-pdf-rtf-files-from/m-p/728108#M24920</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm writing a code for joining two tables, for which the result is being displayed on the results page.&lt;/P&gt;&lt;P&gt;Now along with the results, I need to write code for clickable links that let me download files in different ODS formats(html, pdf, excel, rtf) on the results page. How should I code this in Base SAS? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 11:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/clickable-links-to-download-ods-html-excel-pdf-rtf-files-from/m-p/728108#M24920</guid>
      <dc:creator>supersassy</dc:creator>
      <dc:date>2021-03-22T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Putting Free text above a title line without the output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/727865#M24917</link>
      <description>&lt;P&gt;Is there a way to put free texts above your title within your output?&amp;nbsp; I tried it but it gave me an error that it needs to be placed by a group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel file="\\fenrir\DEVL\sam_s\Standard Opioid ODS Conversion\Summary_test.xlsx" options(start_at="1,1"&lt;BR /&gt;frozen_headers="5"&lt;BR /&gt;frozen_rowheaders="3"&lt;BR /&gt;/*autofilter="1-5"*/&lt;BR /&gt;sheet_name="Summary"&lt;BR /&gt;row_repeat="1"&lt;BR /&gt;embedded_titles="yes");&lt;/P&gt;
&lt;P&gt;proc report split='~' data=Table1_Final out=Table1_Final_1 spanrows style(header)=[fontweight=bold background=lightblue foreground=black]&lt;BR /&gt;style(column)={font_face='Calibri' fontsize=11pt};&lt;BR /&gt;column Status P4 P3 P2 P1;&lt;BR /&gt;define Status / Display "";&lt;BR /&gt;define P1 / Analysis "7/1/20 -~ 12/31/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P2 / Analysis "4/1/20 -~ 09/30/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P3 / Analysis "1/1/20 -~ 06/30/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;define P4 / Analysis "10/1/19 -~ 03/31/2020" style(column)=[cellwidth=15% textalign=center just=decimal];&lt;BR /&gt;title1 '# of Members Filling Opioids';&lt;BR /&gt;endcomp;&lt;BR /&gt;compute before _Page_ / left;&lt;BR /&gt;length text0 - text6 $100;&lt;BR /&gt;if _BREAK_= ' ' then&lt;BR /&gt;do;&lt;BR /&gt;text0="OPIOID OVERUTILIZATION";&lt;/P&gt;
&lt;P&gt;text1="HEALTH PLAN GROUP: &amp;amp;Clnt_Name";&lt;/P&gt;
&lt;P&gt;text2="CLIENT id: &amp;amp;clntid";&lt;/P&gt;
&lt;P&gt;text3="Date Generated: &amp;amp;To_Date";&lt;/P&gt;
&lt;P&gt;text4="Evaluation Period: &amp;amp;Eval_Date";&lt;/P&gt;
&lt;P&gt;text5="Data Sources: PDW";&lt;BR /&gt;end;&lt;BR /&gt;line text0 $100.;&lt;BR /&gt;line text1 $100.;&lt;BR /&gt;line text2 $100.;&lt;BR /&gt;line text3 $100.;&lt;BR /&gt;line text4 $100.;&lt;BR /&gt;line text5 $100.;&lt;BR /&gt;endcomp;&lt;BR /&gt;compute before Status;&lt;BR /&gt;line '';&lt;BR /&gt;line '';&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods excel close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want it to look like the attachment Example.xlsx but when I run my code it looked like&amp;nbsp;\Summary_test.xlsx&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 21:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Putting-Free-text-above-a-title-line-without-the-output/m-p/727865#M24917</guid>
      <dc:creator>ssitharath0420</dc:creator>
      <dc:date>2021-03-19T21:21:52Z</dc:date>
    </item>
    <item>
      <title>Closing Excel Workbook after ODS is utilized to create report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Closing-Excel-Workbook-after-ODS-is-utilized-to-create-report/m-p/727263#M24911</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am creating a report with ODS Excel.&amp;nbsp; I used proc report and it generate an excel output.&amp;nbsp; The Excel open but doesn't automatically closed.&amp;nbsp; I have to close out the excel manually.&amp;nbsp; Is there a command to close the excel automatically once the ODS Proc Report is generated?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 22:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Closing-Excel-Workbook-after-ODS-is-utilized-to-create-report/m-p/727263#M24911</guid>
      <dc:creator>ssitharath0420</dc:creator>
      <dc:date>2021-03-17T22:19:02Z</dc:date>
    </item>
    <item>
      <title>Style attribute TEXTINDENT produces 2 spaces in RTF regardless the value of the attribute?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-attribute-TEXTINDENT-produces-2-spaces-in-RTF-regardless/m-p/724478#M24897</link>
      <description>&lt;P&gt;I tried to use the style attribute TEXTINDENT in a proc report to indent some of the report lines. I used ODS ESCAPECHAR='^' and added the style attribute to the value of the character variable '^{Style [TEXTINDENT=8]' || var || '}'. It works as expected in PDF but for RTF the attribute produces 2 spaces regardless the value used. Even TEXTINDENT=0 results in 2 spaces. I've created a simple program to reproduce the issue. A colleague discovered that setting the attribute using the CALL DEFINE statement does work as expected. Is there any reason why RTF doesn't pick up the attribute when added to the value of&amp;nbsp; the variable?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 12:19:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-attribute-TEXTINDENT-produces-2-spaces-in-RTF-regardless/m-p/724478#M24897</guid>
      <dc:creator>DaanDNR</dc:creator>
      <dc:date>2021-03-08T12:19:24Z</dc:date>
    </item>
    <item>
      <title>Value of a single row running across Pages in rtf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Value-of-a-single-row-running-across-Pages-in-rtf/m-p/722886#M24889</link>
      <description>&lt;P&gt;I had to concatenate all the Concomitant medications of&amp;nbsp; a subject into one row and it resulted in a column with nearly 100 CM's fitted into one row of max length of $1400. when I have to present this information in a listing which has 12 columns and the max width I can assign for each column is not more than 1 Inch, as a result this specific CM column is running across multiple pages disrupting the footnotes and not making any sense on few pages. What can I do to make it look meaningful and not effect the footnote on each page?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 15:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Value-of-a-single-row-running-across-Pages-in-rtf/m-p/722886#M24889</guid>
      <dc:creator>varma1987</dc:creator>
      <dc:date>2021-03-02T15:59:51Z</dc:date>
    </item>
    <item>
      <title>ODS PACKAGE with CALL EXECUTE - not "releasing" created zip file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PACKAGE-with-CALL-EXECUTE-not-quot-releasing-quot-created/m-p/720928#M24882</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am creating a zip file using ODS PACKAGE and CALL EXECUTE, and it appears that everything is working as expected EXCEPT that when I go to open the zip file, I get the error "The process cannot access the file because it is being used by another process" i.e. it is still being used by SAS.&amp;nbsp; If I copy the "Data Files.zip" to another folder, then I can open it.&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="ZIP_ERROR.JPG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55026i478E5DE1E1FA3C33/image-size/large?v=v2&amp;amp;px=999" role="button" title="ZIP_ERROR.JPG" alt="ZIP_ERROR.JPG" /&gt;&lt;/span&gt;&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="ZIP_ERROR2.JPG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55027i5344CFE7CBF0FF46/image-size/large?v=v2&amp;amp;px=999" role="button" title="ZIP_ERROR2.JPG" alt="ZIP_ERROR2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am unsure exactly what the issue could be as there are no errors in SAS.&amp;nbsp; Please see below for the SAS code used to create the zip files:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%MACRO create_zip_files ;

*******************************************************************************************************************************************
*******************************************************************************************************************************************
** PLACES ALL RAW DATA FILES IN THE CLIENTS FOLDER INTO A TEMP SAS DATA SET ;


FILENAME filelist PIPE "dir /a:-d /b %bquote(""&amp;amp;file_path.\&amp;amp;client_name.\"")" ;

DATA dir_contents(KEEP=_file_names) ;
	LENGTH _file_names $ 500. ;
	INFILE filelist TRUNCOVER ;
	INPUT _file_names $500. ;

		/*  ^   matches at the start of the string (unless used at the start of a character class, which then means negation i.e. [^abc]) */
		/*  ()  defines a capture group, groups pieces of a regular expression together and treats them as a single unit called a subpattern */
		/*  \w  matches any word character (any lowercase or uppercase letter, an underscore (_) character, or any digit) */
		/*  +   quantifier that matches preceding item/value one or more times */
		/*  \   is an escape character (\. matches the actual period character) */
		/*  |   specifies the OR condition (the construct x|y matches either x or y) */ 
		/*  $   matches at the end of the string */
		_perl_string = PRXPARSE("/^(\w+_log\.txt)$|^(\w+_results\.html)$|^(\w+\.sas7bdat)$|^(.+\.zip)$|^(\w+\.gpg)$|^(\w+\.ps1)$/") ;

		/* sends the names of the files in the clients directory if they are NOT log files, results files, SAS data sets, */
		/* zip files, or gpg files (i.e. the clients raw data files) to the temporary SAS data set 'dir_contents' */
		IF NOT PRXMATCH(_perl_string, STRIP(_file_names)) THEN OUTPUT dir_contents ;
RUN ;

FILENAME filelist CLEAR ;


*******************************************************************************************************************************************
*******************************************************************************************************************************************
** SENDS ALL RAW DATA FILES TO Data Files.zip ;


ODS PACKAGE(datazip) OPEN NOPF ;

DATA _NULL_ ;
SYSECHO "%sysfunc(PROPCASE(%sysfunc(TRANSLATE(&amp;amp;client_name., ' ', '_')))) - Creating the Data Files Zip File" ;
	SET dir_contents ;
	/* reads in the raw data file names from the temporary SAS data set created from the PRXPARSE/PRXMATCH functions in the preceding step/process */
	CALL EXECUTE('ODS PACKAGE(datazip) ADD FILE="&amp;amp;file_path.\&amp;amp;client_name.\'||STRIP(_file_names)||'";') ;
RUN ;

ODS PACKAGE(datazip) PUBLISH ARCHIVE PROPERTIES(archive_name="Data Files.zip" archive_path="%bquote(&amp;amp;file_path.\&amp;amp;client_name.\)") ;

ODS PACKAGE(datazip) CLOSE ;

PROC DELETE LIBRARY=work DATA=dir_contents (MEMTYPE=data) ;
SYSECHO "%sysfunc(PROPCASE(%sysfunc(TRANSLATE(&amp;amp;client_name., ' ', '_')))) - Creating the Data Files Zip File" ;
RUN ;


*******************************************************************************************************************************************
*******************************************************************************************************************************************
** SENDS RESULTS, LOG, AND ANALYSIS DATA TO CAATs.zip ;


SYSECHO "%sysfunc(PROPCASE(%sysfunc(TRANSLATE(&amp;amp;client_name., ' ', '_')))) - Creating the CAATs Zip File" ;

ODS PACKAGE(caatszip) OPEN NOPF ;

%if %sysfunc(fileexist("&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_name._&amp;amp;medte._results.html")) %then %do ;

	ODS PACKAGE(caatszip) ADD FILE="&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_name._&amp;amp;medte._results.html" ;

%end ;

%else %do ;

	%put ERROR: The results.html file was not included in the CAATS.zip file ;

%end ;

%if %sysfunc(fileexist("&amp;amp;file_path.\&amp;amp;client_name.\_&amp;amp;client_number._&amp;amp;medte._log.txt")) %then %do ;

	ODS PACKAGE(caatszip) ADD FILE="&amp;amp;file_path.\&amp;amp;client_name.\_&amp;amp;client_number._&amp;amp;medte._log.txt" ;

%end ;

%else %do ;

	%put ERROR: The log.txt file was not included in the CAATS.zip file ;

%end ;

%if %sysfunc(fileexist("&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_number._&amp;amp;medte._analysis.sas7bdat")) %then %do ;

	ODS PACKAGE(caatszip) ADD FILE="&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_number._&amp;amp;medte._analysis.sas7bdat" ;

%end ;

%else %do ;

	%put ERROR: The clients analysis data set was not included in the CAATS.zip file ;

%end ;

%if %sysfunc(fileexist("&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_number._&amp;amp;medte._insurance.sas7bdat")) %then %do ;

	ODS PACKAGE(caatszip) ADD FILE="&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_number._&amp;amp;medte._insurance.sas7bdat" ;

%end ;

%else %do ;

	%put WARNING: Insurance data set was not included in the CAATS.zip file, confirm client does not include insurance information ;

%end ;

ODS PACKAGE(caatszip) PUBLISH ARCHIVE PROPERTIES(archive_name="CAATs.zip" archive_path="&amp;amp;file_path.\&amp;amp;client_name.\") ;

ODS PACKAGE(caatszip) CLOSE ;


*******************************************************************************************************************************************
*******************************************************************************************************************************************
** SENDS PCART DATA TO pcart.zip ;


SYSECHO "%sysfunc(PROPCASE(%sysfunc(TRANSLATE(&amp;amp;client_name., ' ', '_')))) - Creating the PCART Zip File" ;

ODS PACKAGE(pcartzip) OPEN NOPF ;

%if %sysfunc(fileexist("&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_number._&amp;amp;medte._pcart.sas7bdat")) %then %do ;

	ODS PACKAGE(pcartzip) ADD FILE="&amp;amp;file_path.\&amp;amp;client_name.\&amp;amp;client_number._&amp;amp;medte._pcart.sas7bdat" ;

%end ;

ODS PACKAGE(pcartzip) PUBLISH ARCHIVE PROPERTIES(archive_name="&amp;amp;client_number._&amp;amp;medte._pcart.zip" archive_path="&amp;amp;file_path.\&amp;amp;client_name.\") ;

ODS PACKAGE(pcartzip) CLOSE ;


*******************************************************************************************************************************************
*******************************************************************************************************************************************
** END OF PROGRAM ;

%MEND create_zip_files ;&lt;/PRE&gt;
&lt;P&gt;The above code includes only the raw data files included in the path, as the other file types go into separate zip files (and those can be opened with no issues).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am curious if this is all related to the FILENAME PIPE?&amp;nbsp; I updated that part so as to not to try and include any folders in a zip that may be inside the path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Log for review (sensitive data removed):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;31         %create_zip_files ;

NOTE: The infile FILELIST is:
      Unnamed Pipe Access Device,
      PROCESS=dir /a:-d /b "C:\........\SAS_TESTING\........\",
      RECFM=V,LRECL=32767

NOTE: 7 records were read from the infile FILELIST.
      The minimum record length was 9.
      The maximum record length was 56.
NOTE: The data set WORK.DIR_CONTENTS has 2 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.56 seconds
      user cpu time       0.01 seconds
      system cpu time     0.04 seconds
      memory              819.03k
      OS Memory           23908.00k
      Timestamp           02/22/2021 09:22:43 AM
      Step Count                        363  Switch Count  36
      

NOTE: Fileref FILELIST has been deassigned.

NOTE: There were 2 observations read from the data set WORK.DIR_CONTENTS.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      user cpu time       0.01 seconds
      system cpu time     0.00 seconds
      memory              946.00k
      OS Memory           23908.00k
      Timestamp           02/22/2021 09:22:43 AM
      Step Count                        364  Switch Count  21
      

NOTE: CALL EXECUTE generated line.
1         + ODS PACKAGE(datazip) ADD FILE="C:\........\SAS_TESTING\........\Loan Portfolio Details - Dec 2020 updated 17Feb2021.xlsx";
2         + ODS PACKAGE(datazip) ADD FILE="........\SAS_TESTING\........\_goez_DEC2020_converted_file.csv";
NOTE: Writing DATAZIP file: C:\........\SAS_TESTING\........\Data Files.zip

NOTE: Deleting WORK.DIR_CONTENTS (memtype=DATA).
NOTE: PROCEDURE DELETE used (Total process time):
      real time           0.00 seconds
      user cpu time       0.00 seconds
      system cpu time     0.00 seconds
      memory              21.46k
      OS Memory           23908.00k
      Timestamp           02/22/2021 09:22:57 AM
      Step Count                        365  Switch Count  23
      

ERROR: The results.html file was not included in the CAATS.zip file
ERROR: The log.txt file was not included in the CAATS.zip file
WARNING: Insurance data set was not included in the CAATS.zip file, confirm client does not include insurance information
NOTE: Writing CAATSZIP file: C:\........\SAS_TESTING\........\CAATs.zip
NOTE: Writing PCARTZIP file: C:\........\SAS_TESTING\........\goez_DEC2020_pcart.zip&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for any assistance, help, or direction!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 15:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PACKAGE-with-CALL-EXECUTE-not-quot-releasing-quot-created/m-p/720928#M24882</guid>
      <dc:creator>GBL__</dc:creator>
      <dc:date>2021-02-22T15:33:50Z</dc:date>
    </item>
    <item>
      <title>Full width compute after text, in narrow report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720498#M24878</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a fairly narrow report, with just 3 short columns.&amp;nbsp; However I want to add a longer piece of text at the end.&amp;nbsp; Below is some partial code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
     define style styles.myrtf;
       parent=styles.rtf;
       style Table from output /
         Background=_UNDEF_
         Rules=groups
         Frame=above
         OUTPUTWIDTH=_undef_
         CELLPADDING=0
         CELLSPACING=0 
         bordertopstyle=solid
         bordertopcolor=black;
    end;
  run;
 
 
PROC REPORT data=adsl nowd headline headskip missing split='#';
  COLUMNS subjid arm trtsdt ;  
  
  DEFINE subjid / order order=data  " "  style={just=l  cellwidth=4cm asis=on};
  DEFINE arm /  style={just=l cellwidth=4cm asis=on};
  DEFINE trtsdt /  style={just=l cellwidth=4cm asis=on };
  
    COMPUTE after _page_;  
      LINE j=l "xxx xxxxxxxx xx xxx xxxxxx xxxxxxxxx xxx xxxxxxxxxx, xx xxx 1 xx xxxxx xxx xx xxxxxxxxx xxxxxx. xxxxxxxx xxxx xx xxxxxxxxx xxxxxx xx xx xxxxxxxx xxxx xxx xxxxxxxx xx xxx 1,";
  ENDCOMP;

RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now the table can be quite long,&amp;nbsp; and we are using the compute after to add footnotes as we have a lot of them.&amp;nbsp; Hence I would like to be able to span these the full of the page.&amp;nbsp; I know I could set outputwidth=100% in the template, but this would also stretch the 3 columns over the full width of the page.&amp;nbsp; Is there any way around this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;n.b. I know I am missing the ODS RTF statements, but these are in company macros so I removed them for clarity.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 16:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720498#M24878</guid>
      <dc:creator>SwissC</dc:creator>
      <dc:date>2021-02-19T16:06:08Z</dc:date>
    </item>
    <item>
      <title>PROC FREQ output to ODS Powerpoint: multi-slide output needed</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-FREQ-output-to-ODS-Powerpoint-multi-slide-output-needed/m-p/720029#M24872</link>
      <description>&lt;P&gt;I have code that generates a lot of performance data combining SMF/RMF (mainframe performance) with information on my firm's disk subsystems. What is attached is a small part of what will exist.&amp;nbsp; I'm looking to produce a single-run that creates a PowerPoint that is going to be hundreds of slides.&amp;nbsp;The code includes a lot of PROC FREQs that generate multiple pages of print, and also a lot of SGPLOT output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm concerned that with PROC FREQ and ODS POWERPOINT I can't seem to set a number of lines of data for each PowerPoint slide, it seems to be trying to write more lines than can fit on a single slide.and I see a lot of text well outside the borders of the slide. With one example PROC FREQ in this code, doing a TABLE MARSSN * MARSCU, there might be as many as 10 subsystems (identified by serial number in MARSSN) and within each theoretically as many as 256 control units (MARSCU)) and that frequency table could be dozens of pages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS seems to be very powerful but complicated. I really don't want to have to write a thousand lines of code for ODS templates for an eight-line proc.&lt;/P&gt;&lt;P&gt;Can anyone suggest a way of limiting the number of lines of PROC FREQ output per slide? I thought maybe an OPTIONS PAGESIZE=10 or something at the start might work but I'm not sure it does. My test data isn't sufficient to generate a multi-page output from these procs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A minor issue is coming up. I have used "ODS NOPROCTITLE" but that doesn't seem to stop the slides from having a PROC FREQ generated "The FREQ Procedure" title on the slides.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 20:36:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-FREQ-output-to-ODS-Powerpoint-multi-slide-output-needed/m-p/720029#M24872</guid>
      <dc:creator>lchristensen</dc:creator>
      <dc:date>2021-02-17T20:36:08Z</dc:date>
    </item>
    <item>
      <title>ALIGN VALUES IN PROC REPORT OUTPUT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ALIGN-VALUES-IN-PROC-REPORT-OUTPUT/m-p/719623#M24867</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to align my values of the circled column on the picture below, please advise. I have attached an example of an output with proper aligned values.&amp;nbsp; I have also attached a code to be used as an example to use:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data class;&lt;/P&gt;
&lt;P&gt;set sashelp.class;&lt;/P&gt;
&lt;P&gt;height = height+.8;&lt;/P&gt;
&lt;P&gt;weight = weight+.9;&lt;/P&gt;
&lt;P&gt;if name in('Alfred' 'Carol' 'James')&lt;/P&gt;
&lt;P&gt;then do;&lt;/P&gt;
&lt;P&gt;height = 88.88;&lt;/P&gt;
&lt;P&gt;weight =77.77;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;if age=14 then count_percent=strip(put(height,6.))||'(12.13)';&lt;BR /&gt;else if age=13 then count_percent=strip(put(height,6.))||'(89.3)';&lt;BR /&gt;else count_percent=strip(put(height,6.))||'(100.00)';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods listing close;&lt;/P&gt;
&lt;P&gt;title; footnote;&lt;/P&gt;
&lt;P&gt;ods tagsets.RTF file='C:\Users\just_d.rtf';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc report data=class nowd headline headskip split='~' missing style ( report )=[frame=hsides outputwidth = 10in background = white&lt;BR /&gt;font_face='Courier New' font_size=3] &lt;BR /&gt;style(column)={just=CENTER font_face='Courier New' background=white foreground=black&lt;BR /&gt;font_size=3 cellwidth=.6in}&lt;BR /&gt;style(header)={just=center font_face='Courier New' cellheight=.8in font_size=3&lt;BR /&gt;foreground=black cellwidth=.6in&lt;BR /&gt;background=white font_style=roman vjust=t} ;&lt;/P&gt;
&lt;P&gt;column name age height weight weight=wt2 count_percent;&lt;/P&gt;
&lt;P&gt;define height / 'ht Just=c'&lt;/P&gt;
&lt;P&gt;style(column)={just=c};&lt;/P&gt;
&lt;P&gt;define weight / 'wt just=d'&lt;/P&gt;
&lt;P&gt;style(column)={just=d};&lt;/P&gt;
&lt;P&gt;define wt2 / 'wt just=d/chg margin'&lt;/P&gt;
&lt;P&gt;style(column)={just=d width=1.0in rightmargin=.25in};&lt;/P&gt;
&lt;P&gt;define count_percent / 'wt just=d/chg margin'&lt;/P&gt;
&lt;P&gt;style(column)={just=d width=1.0in rightmargin=.25in};&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;ods _all_ close;&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="Dinkepile_0-1613479519431.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54786i43C82F82BE84A18E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dinkepile_0-1613479519431.png" alt="Dinkepile_0-1613479519431.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;on the final report or output i wish the values to align like the example below:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dinkepile_1-1613479609315.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54787iEF4C16992E46B3F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dinkepile_1-1613479609315.png" alt="Dinkepile_1-1613479609315.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 12:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ALIGN-VALUES-IN-PROC-REPORT-OUTPUT/m-p/719623#M24867</guid>
      <dc:creator>Dinkepile</dc:creator>
      <dc:date>2021-02-16T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Producing a report in a specific arrangement</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Producing-a-report-in-a-specific-arrangement/m-p/718966#M24860</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the dataset below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dataset.PNG" style="width: 572px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54662i264645DC373169F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="dataset.PNG" alt="dataset.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...and I have been asked to present/generate a table like the one below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="report.PNG" style="width: 929px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54663iDB5C0FEDBC4D590D/image-size/large?v=v2&amp;amp;px=999" role="button" title="report.PNG" alt="report.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have played around with proc report but no luck yet. I don't know how to manipulate the data so that the numbers are placed in the right column/rows within my report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will appreciate some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 18:33:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Producing-a-report-in-a-specific-arrangement/m-p/718966#M24860</guid>
      <dc:creator>nduksy</dc:creator>
      <dc:date>2021-02-12T18:33:13Z</dc:date>
    </item>
    <item>
      <title>How to add dynamically weekday column counts in the report as the week progress?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-dynamically-weekday-column-counts-in-the-report-as/m-p/718316#M24854</link>
      <description>&lt;P&gt;I am working on a report to automatically send daily report to the users with a table in the body of the email. One of the requirement is to have a column for total count, prior week counts and this weeks counts( break down by day).. Not sure how to&amp;nbsp;add the columns as the week progress with their respective header names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;started&amp;nbsp;to get last week dates but not sure how to add the columns in the proc report.. some times there might not be any data for that day but still need to show for the 3 products..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; fdlw=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%sysfunc&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(intnx(week,&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%sysfunc&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(today()),-1,b),date9.);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; first_day=&amp;amp;fdlw ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; ldlw=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%sysfunc&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(intnx(week,&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%sysfunc&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;(today()),0,b),date9.);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; last_day=&amp;amp;ldlw ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;REPORT&lt;/STRONG&gt; DATA=daily_Counts nowd HEADLINE HEADSKIP SPLIT='*'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;style (report) = {background = white&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;font_face = "Verdana" font_size = &lt;STRONG&gt;7&lt;/STRONG&gt;pt just=left }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;style (column) = {background = white CELLHEIGHT = &lt;STRONG&gt;2.5&lt;/STRONG&gt;%&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;font_face = "Verdana" font_size = &lt;STRONG&gt;7&lt;/STRONG&gt;pt just=left}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;style (header) = {foreground = cx5e2750 font_face="Verdana"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;font_size = &lt;STRONG&gt;8&lt;/STRONG&gt;pt just=left&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;background = white} ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; column product Description Total_counts Prior_week Day1 Day2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; define Product / display width= &lt;STRONG&gt;15&lt;/STRONG&gt; "Product";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; define Description / display width= &lt;STRONG&gt;30&lt;/STRONG&gt; " Description ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; define Total_counts / display width= &lt;STRONG&gt;30&lt;/STRONG&gt; " ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; define prior_week / display width= &lt;STRONG&gt;30&lt;/STRONG&gt; "”;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; define Day1 / display width= &lt;STRONG&gt;30&lt;/STRONG&gt; " ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;TABLE width="666"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="77"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="150"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="117"&gt;&lt;STRONG&gt;Total Products in the system&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="117"&gt;&lt;STRONG&gt;Total Products in the system Received &lt;BR /&gt;Prior week( Sunday to Saturday)&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="125"&gt;&lt;STRONG&gt;Total Products in the system Received Sunday&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80"&gt;&lt;STRONG&gt;Total Products in the system Received Monday&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1235&lt;/TD&gt;
&lt;TD&gt;Item1&lt;/TD&gt;
&lt;TD&gt;3173&lt;/TD&gt;
&lt;TD&gt;1070&lt;/TD&gt;
&lt;TD&gt;73&lt;/TD&gt;
&lt;TD&gt;34&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;5432&lt;/TD&gt;
&lt;TD&gt;Item4&lt;/TD&gt;
&lt;TD&gt;340&lt;/TD&gt;
&lt;TD&gt;96&lt;/TD&gt;
&lt;TD&gt;19&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;6574&lt;/TD&gt;
&lt;TD&gt;Item5&lt;/TD&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;TD&gt;-&lt;/TD&gt;
&lt;TD&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 10 Feb 2021 17:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-dynamically-weekday-column-counts-in-the-report-as/m-p/718316#M24854</guid>
      <dc:creator>Stalk</dc:creator>
      <dc:date>2021-02-10T17:11:07Z</dc:date>
    </item>
    <item>
      <title>create SAS help pages and examples</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/create-SAS-help-pages-and-examples/m-p/716552#M24838</link>
      <description>&lt;P&gt;Is there SAS code that creates attractive documents like the SAS online help,&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_anova_examples01.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_anova_examples01.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or is the SAS online help created outside of SAS?&amp;nbsp; I like how in the online help there is little code snippets and the ability to copy those snippets and that it looks attractive and keeps the color coding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a little macro,&lt;/P&gt;&lt;PRE&gt;%macro echocode(sasfile=sasprogram);
Proc document name=temp(write) ;
Import textfile="&amp;amp;projdir\&amp;amp;sasfile..sas" to ^;
Run;
Replay;
Run;
Quit;
%include "&amp;amp;projdir.\&amp;amp;sasfile..sas";
%mend;&lt;/PRE&gt;&lt;P&gt;but the code is&amp;nbsp; not nicely formated.&amp;nbsp; I tried to further develop my own system to divide up my code but I still had some issues, mainly I can't figure out ways to keep the tabs.&amp;nbsp; I really want an Rmarkdown type solution.&amp;nbsp; &amp;nbsp;I could connect Rstudio to SAS, but I would rather program in SAS studio or SAS EG when I write SAS code.&amp;nbsp; I learned Statrep, but I feel there must be an easier way to do this that does not involve using latex, I like latex, but in my classes that use R, I literally can give students an Rmarkdown document on the first day and have them knit it and make a nice document with code and output and I keep thinking there must be a way I could set this up in SAS as well that is not so complicated?&amp;nbsp; Am I missing something obvious?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 17:29:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/create-SAS-help-pages-and-examples/m-p/716552#M24838</guid>
      <dc:creator>LauraRK</dc:creator>
      <dc:date>2021-02-03T17:29:08Z</dc:date>
    </item>
    <item>
      <title>ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715089#M24831</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to find a way to suppress headers if the data flows to multiple pages in the same PROC REPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
set sashelp.class sashelp.class sashelp.class;
run;

ods pdf file="/user/Test_for_Header.pdf" ;
proc report data=class;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't want the header on page 2.&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="image.png" style="width: 654px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54044i01007DCD632FA74B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 19:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715089#M24831</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2021-01-28T19:44:58Z</dc:date>
    </item>
    <item>
      <title>Style element associated with FOOTNOTES</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-element-associated-with-FOOTNOTES/m-p/714827#M24824</link>
      <description>&lt;P&gt;I am trying to create a custom style template based on the RTF style.&amp;nbsp; I want FOOTNOTES&amp;nbsp; to have different default attributes from TITLES.&amp;nbsp; As far as I can tell footnotes use these style attributes&amp;nbsp;&lt;CODE class=" language-sas"&gt;'TitleFont' = ("&amp;lt;serif&amp;gt;, Times Roman",13pt,bold italic)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Is there a way to create a &lt;CODE class=" language-sas"&gt;'FootFont' = ("&amp;lt;serif&amp;gt;, Times Roman",13pt,bold italic)&amp;nbsp;&lt;/CODE&gt;that will be used by footnotes by default.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;define style Styles.Rtf;
   parent = styles.printer;
   style fonts /
      'TitleFont2' = ("&amp;lt;serif&amp;gt;, Times Roman",12pt,bold italic)
      'TitleFont' = ("&amp;lt;serif&amp;gt;, Times Roman",13pt,bold italic)
      'StrongFont' = ("&amp;lt;serif&amp;gt;, Times Roman",10pt,bold)
      'EmphasisFont' = ("&amp;lt;serif&amp;gt;, Times Roman",10pt,italic)
      'FixedEmphasisFont' = ("&amp;lt;monospace&amp;gt;, Courier",9pt,italic)
      'FixedStrongFont' = ("&amp;lt;monospace&amp;gt;, Courier",9pt,bold)
      'FixedHeadingFont' = ("&amp;lt;monospace&amp;gt;, Courier",9pt,bold)
      'BatchFixedFont' = ("SAS Monospace, &amp;lt;monospace&amp;gt;, Courier",6.7pt)
      'FixedFont' = ("&amp;lt;monospace&amp;gt;, Courier",9pt)
      'headingEmphasisFont' = ("&amp;lt;serif&amp;gt;, Times Roman",11pt,bold italic)
      'headingFont' = ("&amp;lt;serif&amp;gt;, Times Roman",11pt,bold)
      'docFont' = ("&amp;lt;serif&amp;gt;, Times Roman",10pt);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT:&amp;nbsp; I think I figured it.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;      class SystemFooter /
         font = Fonts('FootnoteFont');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 22:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Style-element-associated-with-FOOTNOTES/m-p/714827#M24824</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2021-01-27T22:30:52Z</dc:date>
    </item>
    <item>
      <title>PROC ODSTABLE, format not being applied to column</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-ODSTABLE-format-not-being-applied-to-column/m-p/714731#M24821</link>
      <description>&lt;P&gt;Please check me on this code.&amp;nbsp; What am I missing?&amp;nbsp; Is this a bug?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using SAShelp.Cars, I'm creating a character format, $MAKE, which maps the first three (3) characters of the column Make to the full text.&amp;nbsp; Then I'm attempting to create a table using ODSTABLE giving the 3 character data to the procedure and I'm wanting the procedure to transform that data by the format.&amp;nbsp; This is suppose to work like&amp;nbsp;the example here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=odsproc&amp;amp;docsetTarget=p0rbbp8813v8vkn1bql6je6mz0n8.htm&amp;amp;locale=en#p0rbbp8813v8vkn1bql6je6mz0n8"&gt;SAS Help Center: Defining Variables with the COLUMN Statement&lt;/A&gt;&amp;nbsp;-- I think. (??)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nofmterr nocenter;

data cntlin (keep=FMTNAME end start label type );
  set SAShelp.Cars (obs=50);
    by Make ;
  if first.Make then do;
    FMTNAME="Make";
    type="C";
    length start end $3;
      start=substr(Make,1,3);
      format start $Make.;
    end=start;
    label=Make;
    output;
  end;
proc format cntlin=&amp;amp;sysLast;
run;

proc odstable data=cntlin(Keep=start ) PAGEBREAK=No;
  column   start ;
  define start;
    format=$make.;
  end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get this output like this:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="sas"&gt;start
Acu
Aud
BMW
Bui&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;P&gt;I expected this:&lt;/P&gt;
&lt;DIV&gt;&lt;LI-CODE lang="sas"&gt;start
Acura
Audi
BMW
Buick&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Jan 2021 19:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-ODSTABLE-format-not-being-applied-to-column/m-p/714731#M24821</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-01-27T19:45:46Z</dc:date>
    </item>
    <item>
      <title>ODS EXCEL using Calibri on Unix/Linux Server</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-using-Calibri-on-Unix-Linux-Server/m-p/714271#M24818</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My company needs to generate some Excel files in the Calibri font. I wrote the code using ODS EXCEL and PROC REPORT that produces the desired output in both SAS Base (9.4 TS1M5) and SAS EG (7.15 HF3) on my company's computers, which are on Windows Server 2012R2. However, when my colleague takes the same code to run in SAS EBI on the CMS server (which is Unix/Linux), the font never comes in Calibri, but other formats of the Excel files are as coded. I did some research and have a clue about the reason. Could someone confirm/disconfirm? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess is that Calibri is not installed/registered on the CMS server, so the SAS EBI there cannot recognize the "font_face=Calibri" option. I get this idea from the post &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-in-Calibri-Font/td-p/58968" target="_self"&gt;here&lt;/A&gt;, but one difference is that our log doesn't have "WARNING: Font specification 'Calibri' failed. Using default font family instead." in it. In addition, if I run the following code in SAS EBI on the CMS server, and don't see Calibri in the log, does this confirm my guess?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc&amp;nbsp;registry&amp;nbsp;&lt;SPAN&gt;startat&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"\CORE\PRINTING\FREETYPE\FONTS" &lt;/SPAN&gt;&lt;SPAN&gt;list levels=1&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ke&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 14:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-using-Calibri-on-Unix-Linux-Server/m-p/714271#M24818</guid>
      <dc:creator>xueke47</dc:creator>
      <dc:date>2021-01-26T14:26:01Z</dc:date>
    </item>
    <item>
      <title>Dynmic data representation - updating Excel Pivot tables?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynmic-data-representation-updating-Excel-Pivot-tables/m-p/714120#M24814</link>
      <description>&lt;P&gt;I am looking for a best way to process my data and export to excel so the users will have flexibility to filter and get the summary counts.&lt;/P&gt;
&lt;P&gt;So far what I have done in my SAS program is: &amp;nbsp;I applied all the filters and&amp;nbsp;the business rules and created a line list. Using&amp;nbsp;Excel engine I wrote&amp;nbsp;this line list to a pre-existing Excel template where I created a pivot table with all the row and column counts and grand total along with standard bar graphs. When I run this every afternoon the line list is overwriting the existing Excel table so my pivot table is not refreshing with new data.&amp;nbsp; Running SAS on local machine (windows environment). Open to any suggestions to give flexibility to my users to filter by&amp;nbsp;start date, end date, dept. etc and get the overall counts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank&amp;nbsp; you&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 23:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Dynmic-data-representation-updating-Excel-Pivot-tables/m-p/714120#M24814</guid>
      <dc:creator>Stalk</dc:creator>
      <dc:date>2021-01-25T23:02:12Z</dc:date>
    </item>
    <item>
      <title>TAGSETS.RTF, PROC ODSTABLE, Margins, Page Headers, Tables, and Spacing.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-RTF-PROC-ODSTABLE-Margins-Page-Headers-Tables-and/m-p/713484#M24807</link>
      <description>&lt;P&gt;I have four goals to learn about ODS TAGSETS.RTF and or PROC TEMPLATE.&amp;nbsp; Could you, kindly, help me learn to do some of these goals using this mock document.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Change all page margins to 1".&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;✓&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Remove date, time and page number from the top of the page.&amp;nbsp;&lt;SPAN&gt;✓&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Remove grey border from table, or set color to white.&amp;nbsp;&lt;SPAN&gt;✓&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Implement a half line space between title lines.&amp;nbsp; IOW implement 0.5 line spacing, or adding spacing&amp;nbsp;before and after&amp;nbsp;paragraph.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;✓&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.rtf 
  style= daisy
  options (
    VSPACE='OFF'
  )
  ;

option nocenter;
title;

/*Because Proc Template is hard:*/
%let normal=font_size=11pt;
%let answer=[fontweight=bold liststyletype="none"];
%let table_answer=[fontweight=bold &amp;amp;normal];
%let systemtitle=[fontweight=bold font_size=12pt];
%let sub_title=[fontweight=bold &amp;amp;normal];
%let mid_title=[fontweight=bold font_size=14pt just=c];
%let normal=[font_size=11pt];
%let Small_line=[font_size=5pt];

proc odstext;
  p "Neque Porro Quisquam est qui Dolorem Ipsum " /style=&amp;amp;systemtitle;
  p " "/style=&amp;amp;Small_line;
  p "Quia Dolor sit Amet, Consectetur, Adipisci Velit"/style=&amp;amp;sub_title;
  p " "/style=&amp;amp;Small_line;
  p "Objectives:"/style=&amp;amp;sub_title;
  p;
  p '10A.  Mauris iaculis libero a purus eleifend viverra.'/style=&amp;amp;normal;
  p;
run;

%let question_10A_make=0;
  proc sql noprint ;
    select distinct Make, count(*)
      into :null, :question_10A_make
      from sashelp.CARS
        where Make='Acura' 
	   ;
  run;

proc odstext;
  list;
    item "%CMPRES(&amp;amp;question_10A_make)"/style=&amp;amp;answer ;
  end;
  p;
  p "Donec Sagittis Neque Quis Starting 12-2017" /style=&amp;amp;mid_title ;
  p;
  p '15B.  Lorem ipsum dolor sit amet, consectetur adipiscing elit.'/style=&amp;amp;normal;
  p;
run;

PROC FREQ DATA=sashelp.cars (obs=50);
  TABLES Make / NOPRINT out=make ;
proc odstable data=make PAGEBREAK=NO;
  column blank Make count;
  define Make ;
     format=$ENRLST.;
     PRINT_HEADERS=OFF;
  end;
  define count;
    style=&amp;amp;table_answer;
    format=3.0;
    PRINT_HEADERS=OFF;
  end;
  define column  blank;
     style={cellwidth=0.6in};
     PRINT_HEADERS=OFF;
     compute as " ";
  end;
run;

proc odstext;
  p;p;
  p "To Do:"  /style=&amp;amp;systemtitle;
  p;
  list;
    item 'Change all page margins to 1"';
    item "Revove date, time and page number from the top of the page.";
    item "Remove grey border from table, or set color to white.";
    item "Implment a half line space between title lines.";
  end;
run;
ods tagsets.rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 16:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/TAGSETS-RTF-PROC-ODSTABLE-Margins-Page-Headers-Tables-and/m-p/713484#M24807</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-01-25T16:13:56Z</dc:date>
    </item>
    <item>
      <title>Placing images on the same .eps or .wmf file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-images-on-the-same-eps-or-wmf-file/m-p/712395#M24802</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on a figure where I put 6 images into a single final figure. I am able to manage and do it on a pdf output file (using ods pdf and ods layout). I can't seem to be able to generate the same final figure (combining many figures into one) in .eps or .wmf directly from SAS though. Any experience/ideas with that?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 12:47:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Placing-images-on-the-same-eps-or-wmf-file/m-p/712395#M24802</guid>
      <dc:creator>A_M_</dc:creator>
      <dc:date>2021-01-19T12:47:59Z</dc:date>
    </item>
    <item>
      <title>Quarters- months grouping in SasJobExecution</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Quarters-months-grouping-in-SasJobExecution/m-p/712129#M24800</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am trying to export the report from Proc report , with the attached input from dataset and optput mentioned in the dataset.&lt;/P&gt;&lt;P&gt;I tried , but for me all the months are coming in each quarter&lt;/P&gt;&lt;P&gt;proc report data= xxxx;&lt;BR /&gt;column 'Dept'n 'loc'n 'QUARTER'n,('MonthYear'n,('count'n 'Amount'n));&lt;BR /&gt;define 'Dept'n / group;&lt;BR /&gt;define 'loc'n / group;&lt;BR /&gt;define 'QUARTER'n / across;&lt;BR /&gt;define 'MonthYear'n / across;&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 14:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Quarters-months-grouping-in-SasJobExecution/m-p/712129#M24800</guid>
      <dc:creator>gopalxor</dc:creator>
      <dc:date>2021-01-18T14:46:48Z</dc:date>
    </item>
    <item>
      <title>Reduce vertical space between two titles in Powerpoint slide</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Reduce-vertical-space-between-two-titles-in-Powerpoint-slide/m-p/710411#M24798</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template; 
	define style styles.mystyle; 
	parent=styles.powerpointlight;
	class SystemTitle /    fontsize=24pt textalign=left  ;
	class SystemTitle2 /    fontsize=12pt textalign=right ;
	end; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would like to reduce the vertical space between the two titles in my Powerpoint slide which I am generating&amp;nbsp; with ODS Gridded layout using this modified style template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried various options that EG shows while editing the code, none of which works.&amp;nbsp; I would appreciate any suggestions&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 05:08:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Reduce-vertical-space-between-two-titles-in-Powerpoint-slide/m-p/710411#M24798</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2021-01-10T05:08:33Z</dc:date>
    </item>
    <item>
      <title>Trying to create groupings from computed variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trying-to-create-groupings-from-computed-variables/m-p/710277#M24789</link>
      <description>&lt;P&gt;I've searched through the knowledge base, web and message boards and I could not find a similar example, although I know it exist somewhere.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I have a small data set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data salaries;
   input team $  type $ salary bonus;
   datalines;
Ben OFF 150000 5000
Tom OFF 200000 2000
Jerry OFF 140000 1500
Al DEF 80000 1000
Bill DEF 90000 2000
;
	run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and I'm trying to group and calculate the salary + bonus (salary_plus).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=salaries;
	column type team salary salary_plus bonus;
	define type / group 'Type';
	define team / display;
	define bonus / analysis format=dollar32.2 sum;
	define salary / analysis format=dollar32.2 sum;
	define salary_plus / computed noprint ;
	
	compute salary_plus;
		salary_plus= bonus+salary;
	endcomp;

	break after type / summarize
		style=[font_weight=bold background=lightgray];

	compute after type ;
			line 'Total ' salary_plus dollar7.2;
	endcomp;


run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I'm getting the correct report structure, but at the very end for the &lt;STRONG&gt;Total&lt;/STRONG&gt;, I'm getting a null value.&amp;nbsp; I'd like for it to say&amp;nbsp;&lt;/P&gt;&lt;P&gt;$200,000 for DEF and $498,500 for OFF&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="snapshot.jpg" style="width: 265px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53330i0FEB68213F3D9E78/image-dimensions/265x206?v=v2" width="265" height="206" role="button" title="snapshot.jpg" alt="snapshot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 20:29:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Trying-to-create-groupings-from-computed-variables/m-p/710277#M24789</guid>
      <dc:creator>vincent_s_jones</dc:creator>
      <dc:date>2021-01-08T20:29:11Z</dc:date>
    </item>
    <item>
      <title>Percent8. format for specific report rows</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Percent8-format-for-specific-report-rows/m-p/708947#M24785</link>
      <description>&lt;P&gt;Hello, I need assistance with proc report.&amp;nbsp; I'm trying to create&amp;nbsp;a spreadsheet that contains numeric data with a format of 8.&amp;nbsp;for all rows except&amp;nbsp; where&amp;nbsp;variable category = 'Ratio', then I would like to use percent8.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data looks like:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Title&lt;/TD&gt;&lt;TD&gt;Dept&lt;/TD&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;EOD1201&lt;/TD&gt;&lt;TD&gt;EOD1202&lt;/TD&gt;&lt;TD&gt;EOD1203&lt;/TD&gt;&lt;TD&gt;EOD1204&lt;/TD&gt;&lt;TD&gt;EOD1205&lt;/TD&gt;&lt;TD&gt;Change&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Doe, John&lt;/TD&gt;&lt;TD&gt;CEO&lt;/TD&gt;&lt;TD&gt;DEP&lt;/TD&gt;&lt;TD&gt;AMR&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Doe, Jan&lt;/TD&gt;&lt;TD&gt;VP&lt;/TD&gt;&lt;TD&gt;RSK&lt;/TD&gt;&lt;TD&gt;Ratio&lt;/TD&gt;&lt;TD&gt;.23&lt;/TD&gt;&lt;TD&gt;.25&lt;/TD&gt;&lt;TD&gt;.75&lt;/TD&gt;&lt;TD&gt;.88&lt;/TD&gt;&lt;TD&gt;.25&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Smith, Bob&lt;/TD&gt;&lt;TD&gt;SVP&lt;/TD&gt;&lt;TD&gt;SMB&lt;/TD&gt;&lt;TD&gt;MDR&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Smith, Mike&lt;/TD&gt;&lt;TD&gt;Associate&lt;/TD&gt;&lt;TD&gt;CHK&lt;/TD&gt;&lt;TD&gt;SUB&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&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;I want it to look like:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Title&lt;/TD&gt;&lt;TD&gt;Dept&lt;/TD&gt;&lt;TD&gt;Category&lt;/TD&gt;&lt;TD&gt;EOD1201&lt;/TD&gt;&lt;TD&gt;EOD1202&lt;/TD&gt;&lt;TD&gt;EOD1203&lt;/TD&gt;&lt;TD&gt;EOD1204&lt;/TD&gt;&lt;TD&gt;EOD1205&lt;/TD&gt;&lt;TD&gt;Change&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Doe, John&lt;/TD&gt;&lt;TD&gt;CEO&lt;/TD&gt;&lt;TD&gt;DEP&lt;/TD&gt;&lt;TD&gt;AMR&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Doe, Jan&lt;/TD&gt;&lt;TD&gt;VP&lt;/TD&gt;&lt;TD&gt;RSK&lt;/TD&gt;&lt;TD&gt;Ratio&lt;/TD&gt;&lt;TD&gt;23%&lt;/TD&gt;&lt;TD&gt;25%&lt;/TD&gt;&lt;TD&gt;75%&lt;/TD&gt;&lt;TD&gt;88%&lt;/TD&gt;&lt;TD&gt;25%&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Smith, Bob&lt;/TD&gt;&lt;TD&gt;SVP&lt;/TD&gt;&lt;TD&gt;SMB&lt;/TD&gt;&lt;TD&gt;MDR&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Smith, Mike&lt;/TD&gt;&lt;TD&gt;Associate&lt;/TD&gt;&lt;TD&gt;CHK&lt;/TD&gt;&lt;TD&gt;SUB&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&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;Each day a new column (Variable) is added to reflect the previous days information.&amp;nbsp;&amp;nbsp; Few questions:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; How can I use proc report to update the format?&lt;/P&gt;&lt;P&gt;2. How should the column statement be coded to account for new columns added?&lt;/P&gt;&lt;P&gt;3. Do I use the compute to update the format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current proc report looks like:&lt;/P&gt;&lt;P&gt;proc report data=New_Report nowd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(header)={font_face="Arial" font_size=8pt color=white backgroundcolor=CX000000 tagattr='wraptext:no' width=100%}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(report)={font_face="Arial" font_size=8pt tagattr='wraptext:no' width=100%}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(lines)={just=left font_face=Arial font_size=8pt tagattr='wraptext:no' width=100%}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={font_face="Arial" font_size=8pt tagattr='wraptext:no' width=100%};&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would really be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 21:24:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Percent8-format-for-specific-report-rows/m-p/708947#M24785</guid>
      <dc:creator>covershaker45</dc:creator>
      <dc:date>2020-12-31T21:24:18Z</dc:date>
    </item>
    <item>
      <title>Does SAS allow different column widths and alignments in multiple tabs of the spreadsheet?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-SAS-allow-different-column-widths-and-alignments-in/m-p/708455#M24774</link>
      <description>&lt;P&gt;Hi SAS experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had go over many posts that discuss how to adjust column widths for excel outputs but I couldn't find anything that fits my needs (or I just miss it, please share if you find one!)&amp;nbsp;&lt;/P&gt;&lt;P&gt;#1) I am generating an excel output with multiple tabs and I want some of the columns to have their width autofit to the length of the text in the observations. For example, in column "location_type" I have only "office" in one tab and "Skilled nursing facility" in another tab. I want to adjust the widths to be only as wide as the text. I have tried absolute_column_width (see code) and this standardizes the column widths across tabs. Is there a way to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#2) I currently have all my columns left-aligned (as default) but I want "location" and "Inv" to be center-aligned. Is there a way to specify alignments to some of the columns?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise! Thank you for your help.&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;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS EXCEL FILE="C:\Users\TestOB_&amp;amp;run..xlsx"
OPTIONS (Orientation = 'landscape' 
sheet_name = "OB List"
sheet_interval = 'Proc'
embedded_titles='yes' 
AUTOFILTER ="All"
FLOW="TABLES"
ABSOLUTE_COLUMN_WIDTH="5,11,8,14,12,58,59,5,25.5,15,12,12,12,12"
ROW_HEIGHTS="39, 18"); 
ods listing close;
Proc report data =extract2 nowd style(header)=[Backgroundcolor = white color=Black] style(report)=[just=center];
column OBs closure priority list_number date_created location location_type district Inv Ncv var1 var2 var3 var4;
compute closure;
 if closure = "Yes" then
     call define("closure", "style", "style=[backgroundcolor=orange]"); /*Highlight Closure = "Yes"*/
endcomp;
define OBs / computed;
compute obs;
 dsobs + 1;
 obs = dsobs;
 endcomp;
run;

%macro ByNcv;
*add loop to the ODS Code;
%do I=1 %to &amp;amp;extn ;
ODS EXCEL
OPTIONS (Orientation = 'landscape' 
sheet_name = "&amp;amp;&amp;amp;S&amp;amp;I"
sheet_interval = 'Proc'
embedded_titles='yes' 
AUTOFILTER ="All"
FLOW="TABLES"
ABSOLUTE_COLUMN_WIDTH="5,11,8,14,12,58,59,5,25.5,15,12,12,12,12"); 
ods listing close;
Proc report data =extract2 nowd style(header)=[Backgroundcolor = white color=Black] style(report)=[just=center];
	where Ncv = "&amp;amp;&amp;amp;S&amp;amp;I";
column OBs closure priority list_number date_created location location_type district Inv Ncv var1 var2 var3 var4;
define OBs / computed;
compute obs;
 dsobs + 1;
 obs = dsobs;
 endcomp;
compute closure;
 if closure = "Yes" then
     call define("closure", "style", "style=[backgroundcolor=orange]"); /*Highlight Closure = "Yes"*/
endcomp;
run;
%END;
%MEND;

%ByNcv;

ODS EXCEL CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 18:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Does-SAS-allow-different-column-widths-and-alignments-in/m-p/708455#M24774</guid>
      <dc:creator>ph8252</dc:creator>
      <dc:date>2020-12-28T18:00:07Z</dc:date>
    </item>
    <item>
      <title>Proc Report TITLE: Display all values chosen from a multi-value prompt on the title line</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-TITLE-Display-all-values-chosen-from-a-multi-value/m-p/707938#M24765</link>
      <description>&lt;P&gt;I have a&amp;nbsp;ODS proc report that uses values from a multi-value prompt.&amp;nbsp; I need to display all values selected for each prompt in the Title statments.&amp;nbsp; Using the method below, it only produces the first selction and ignores the rest for the title statments.&amp;nbsp; Any advise on how to get it to display all values selected for each prompt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: Prompt2: User selects A, B, andC from list.&amp;nbsp; On Title statement it shows Prompt2: A instead of Prompt2: A B C.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Title&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=arial &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;16&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bib &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=center &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"Prompt1: &amp;amp;Prompt1"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Title2&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=arial &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bib &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=center &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"Prompt2: &amp;amp;Prompt2"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Title3&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=arial &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bib &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=center &lt;FONT face="Courier New" size="3" color="#800080"&gt;"Prompt3: &amp;amp;Prompt3"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Title4&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=arial &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bib &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=center &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"Prompt4: &amp;amp;Prompt4"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Title5&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=arial &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bib &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=center &lt;FONT face="Courier New" size="3" color="#800080"&gt;"Prompt5: &amp;amp;Prompt5"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Title6&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=arial &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bib &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=center &lt;FONT face="Courier New" size="3" color="#800080"&gt;"Prompt6: &amp;amp;Prompt6"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;Title7&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;font&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=arial &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;height&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bib &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;justify&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=center&amp;nbsp;&lt;FONT face="Courier New" size="3" color="#800080"&gt;"Prompt7: &amp;amp;Prompt7"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 17:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-TITLE-Display-all-values-chosen-from-a-multi-value/m-p/707938#M24765</guid>
      <dc:creator>CLE</dc:creator>
      <dc:date>2020-12-23T17:38:55Z</dc:date>
    </item>
    <item>
      <title>remove numbering of filename</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/remove-numbering-of-filename/m-p/706896#M24761</link>
      <description>&lt;P&gt;Hi I have this code for a SGPLOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let numdate = %sysfunc(today(), yymmddn8.);
Ods listing gpath="F:\Folder";
ods graphics / imagename="Test_&amp;amp;numdate." imagefmt=png;
options orientation=landscape;
ods noproctitle;

PROC SGPLOT DATA = new PCTLEVEL=GROUP NOBORDER NOWALL NOCYCLEATTRS;
VBAR KMA / GROUP = myint stat= percent NOOUTLINE;       
TITLE 'Svartider i sundhedssporet per region for den foregående uge';
keylegend / title="";
XAXIS DISPLAY=(NOLABEL);
YAXIS DISPLAY=(NOLABEL);
FORMAT myint intervalfmt.;
styleattrs DATACOLORS=(LightBlue STEEL Mistyrose FireBrick);
RUN; 
ODS LISTING CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When it is saved in the folder it will always be: test_(todaysdate)1&lt;/P&gt;&lt;P&gt;it will always put a number behind the date, i just want the date without numbering.&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question when it comes to that:&lt;/P&gt;&lt;P&gt;I have this code for sending out e-mails&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename outbox email
      from=("test@test.dk")
	  to=("test@test.dk")
	  type='text/html'
	  subject='testt'
	  attach=("F:\Folder\Test_202012112.png" ct='png')
	  attach=("F:\Folder\\test_202012112.xlsx" content_type="excel")
ods html body=outbox rs=none style=Htmlblue;

run;
ods html close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is there a function in SAS where it can by it self find the newest file ? instead of writing files manually in the email code&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 07:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/remove-numbering-of-filename/m-p/706896#M24761</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2020-12-18T07:45:11Z</dc:date>
    </item>
    <item>
      <title>ODS PDF - Text disappears when the document grows to two pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Text-disappears-when-the-document-grows-to-two-pages/m-p/705955#M24754</link>
      <description>&lt;P&gt;I need to process a dynamic document. When the document is short it works great. When it is too long the text disappears from the PDF. Attached is a sample SAS&lt;/P&gt;&lt;P&gt;code. If the following lines are starred:&lt;/P&gt;&lt;P&gt;% hachpala (8);&lt;/P&gt;&lt;P&gt;% hachpala (9);&lt;/P&gt;&lt;P&gt;The file comes out fine, otherwise the page goes wrong. Why? What can be done to make it work well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let koteret1=^S={font_size=10pt font_face=Arial FONT_WEIGHT=Bold just=right};
%let text1=^S={font_size=10pt font_face=Arial just=right};
%let kav_mafrid=^S={font_size=8pt color=bgr }____________________________________________________________________________________________________________________________;
%let path=C:\Users\xxx\Desktop;

ods _all_ close;
options 
orientation = portrait     spool     lrecl=max     urlencoding=utf8      dev=actximg      locale=HE_IL   papersize= A4 
nodate  nonumber topmargin= 0cm  bottommargin = 0cm leftmargin = 1cm rightmargin = 1cm       printerpath= pdf;    
ods noproctitle;
title;
footnote;
ods escapechar = '^';
ods pdf file="&amp;amp;path.\test.pdf"    /*uniform*/   /* notoc*/ startpage=yes /*gtitle gfootnote*/ ;
title1 j=center "סמל ארגון";
title2 j=left "כותרת שמאל" 
           j=center "^{style [font_size=12pt font_face=Arial FONT_WEIGHT=Bold color=bgr ] שם ארגון }"
          j=right "כותרת ימין" ;

footnote1 j=center "^{lastpage} דף ^{thispage} מתוך";
%macro hachpala(mis_hadpasa);
ods layout start  columns=1;
     ods region width=100% style={just=right};
         ods pdf text=" &amp;amp;kav_mafrid ";     
                ods pdf text="^{ newline 1}";
           ods pdf text="&amp;amp;koteret1 כותרת &amp;amp;mis_hadpasa";     
           ods pdf text=" &amp;amp;kav_mafrid ";    
ods layout end;

     ods pdf text="^{ newline 1}";

%macro ods_pdf_text(N);
     ods pdf text="&amp;amp;text1 עמודה &amp;amp;N";
     ods pdf text="&amp;amp;text1 עמודה &amp;amp;N";
     ods pdf text="&amp;amp;text1 עמודה &amp;amp;N";
%mend;

ods layout start  columns=4;
     ods region width=25% style={just=right};
           %ods_pdf_text(4);
     ods region width=25% style={just=right};
           %ods_pdf_text(3);
     ods region width=25% style={just=right};
           %ods_pdf_text(2);
     ods region  width=25% style={just=right};
           %ods_pdf_text(1);
ods layout end;
%mend;
%hachpala(1);
%hachpala(2);
%hachpala(3);
%hachpala(4);
%hachpala(5);
%hachpala(6);
%hachpala(7);
%hachpala(8);
%hachpala(9);

ods pdf close;
ods _all_ close;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 08:20:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Text-disappears-when-the-document-grows-to-two-pages/m-p/705955#M24754</guid>
      <dc:creator>ziporapr</dc:creator>
      <dc:date>2020-12-15T08:20:15Z</dc:date>
    </item>
    <item>
      <title>Proc report define statement order options output problems</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-define-statement-order-options-output-problems/m-p/705576#M24750</link>
      <description>&lt;P&gt;Hi, I have some problems about Proc report outputs. I want to use ORDER option to suppress some repetitive values, but got a unexpected output. Here's my codes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x1;
informat subject armcd period $20.;
input subject armcd period;
cards;
C007 RT 2
C007 RT 2
C010 RT 1
C010 RT 1
C010 RT 1
C010 RT 1
C010 RT 2
C010 RT 2
C010 RT 2
C010 RT 2
C010 RT 2
;
proc sort;
by subject armcd period;
run;

proc report data=x1;
column subject armcd period;
define subject/order order=data;
define armcd/order order=data;
define period/order order=data;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I thought the output would be:&lt;/P&gt;&lt;PRE&gt;C007 RT 2

C010 RT 1



        2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;I was surprised I got:&lt;/P&gt;&lt;PRE&gt;C007 RT 2 
      
C010 RT 2 
      
      
      
      
        1 
      
      
      &lt;/PRE&gt;&lt;P&gt;So, why the output would be like this?Why the value "1" is showing below the value "2"?Could someone explain to me?&amp;nbsp;&lt;SPAN&gt;Any&amp;nbsp;help will be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 03:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-define-statement-order-options-output-problems/m-p/705576#M24750</guid>
      <dc:creator>Maplefin</dc:creator>
      <dc:date>2020-12-14T03:56:47Z</dc:date>
    </item>
    <item>
      <title>Working with word field codes</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Working-with-word-field-codes/m-p/704712#M24745</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;Is it possible to directly put word field codes in titles, footnotes, proc report posttext and line statements, etc? According to&amp;nbsp;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3235-2019.pdf," target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2019/3235-2019.pdf,&lt;/A&gt;&amp;nbsp;this is possible with proc template, but this would just modify existing template elements.&lt;/P&gt;&lt;P&gt;What I am trying to achieve is to hand over table numbering to Word for easy list-of-tables creation. According to google, the field code for table number is {SEQ Table \* ARABIC}. Unfortunately, if I use it as-is, the literal is inserted to document, and prepending it with an ods escapechar (~{SEQ Table \* ARABIC}) results in nothing being inserted. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Working-with-word-field-codes/m-p/704712#M24745</guid>
      <dc:creator>js5</dc:creator>
      <dc:date>2020-12-09T13:51:35Z</dc:date>
    </item>
    <item>
      <title>Conditional Formatting of Columns in ODS Excel Report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Conditional-Formatting-of-Columns-in-ODS-Excel-Report/m-p/704657#M24744</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a ODS Excel PROC REPORT where i have a attribute column which is displayed across along with a metric column to display the metric. The attribute column has revenue figures as well as other KPIs. The revenue figures i want them to be formatted with a $ symbol and the other KPIs as normal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code i have , the CHARGE_TEXT field is the KPI column and CHARGE is metric column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using a COMPUTE CHARGE_TEXT block to try and add a conditional tagattr, but it is not working.i am attaching the code and output.KIndly help with my ask.&lt;/P&gt;&lt;PRE&gt;proc report data=BASE_UNBUND_REV_ELEC_12M_MOD nowd spanrows missing
style(report)=[bordercolor=black borderwidth=3pt]
style(header)=[verticalalign=middle backgroundcolor=cx4C7DC4 foreground=white]
style(summary)=[backgroundcolor=black foreground=white fontstyle=roman fontweight=bold bordercolor=black borderwidth=2pt]
;
	by pucgrp;
	
	column pucgrp ratelit ('Rate Literal' ratelit_disp) consumption_dt ('Year' consumption_yr_disp)  ('Month' consumption_dt_disp) (charge_text, (charge));

	define pucgrp / '' group noprint;

	define ratelit / '' group noprint;
	define ratelit_disp / '' computed style(column)=[backgroundcolor=lightgrey];

	define consumption_dt / order=internal group '' noprint;
	define consumption_yr_disp / f=year4. '' computed style(column)=[backgroundcolor=lightgrey];
	define consumption_dt_disp / f=monname3. '' computed style(column)=[backgroundcolor=lightgrey];

	define charge_text / across order=data '' style(column)=[backgroundcolor = white width=40%] ;
	define charge / '' style(column)=[backgroundcolor = white] ;
	
	compute before ratelit;
		hold_ratelit = ratelit;
	endcomp;

	compute before consumption_dt;
		hold_consumption_dt = consumption_dt;
	endcomp;


	compute ratelit_disp / char length=25;
		ratelit_disp = hold_ratelit;
	endcomp;

	compute consumption_yr_disp;
		consumption_yr_disp = hold_consumption_dt; 
	endcomp;

	compute consumption_dt_disp;
		consumption_dt_disp = hold_consumption_dt; 
	endcomp;
	
	compute charge_text;
		if charge_text = 'Billed Months' then 
			do;
				call define('charge','style','style={tagattr="0.00,[Red](0.00),0.00"}');
			end;
		else;
			do;
				call define('charge','style','style={tagattr="$0.00,[Red]($0.00),$0.00"}');
			end;
	endcomp;
	
	compute after ratelit;
		call define ('consumption_yr_disp', 'style', 'style=[tagattr=''formula:=""'']');
		call define ('consumption_dt_disp', 'style', 'style=[tagattr=''formula:=""'']');
	endcomp;
	break after ratelit / summarize; /* Every time the ratelit Changes Summarize the table (SubTotal)*/

run;&lt;/PRE&gt;&lt;P&gt;This is output im getting. Wherever i have pointed out with the arrow i need to be displayed as&amp;nbsp;style={tagattr="0.00,[Red](0.00),0.00"} and all others as&amp;nbsp;style={tagattr="$0.00,[Red]($0.00),$0.00"}&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="rajesh1980_0-1607500770525.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52448i91AEF379557FDE6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajesh1980_0-1607500770525.png" alt="rajesh1980_0-1607500770525.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is how my data looks&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;PUCGRP&lt;/TD&gt;&lt;TD&gt;RATELIT&lt;/TD&gt;&lt;TD&gt;CONSUMPTION_DT&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;CHARGE_TEXT&lt;/TD&gt;&lt;TD&gt;CHARGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Months&lt;/TD&gt;&lt;TD&gt;1.50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed KWH&lt;/TD&gt;&lt;TD&gt;5013.97&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Operating Revenue&lt;/TD&gt;&lt;TD&gt;777.39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Generation (Post)&lt;/TD&gt;&lt;TD&gt;506.27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;GTSR Charge&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;GTSR Credit&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;GTSR Indifference Adj&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Jul2020&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;PTR/SEP Fixed Capacity Cr-G&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Months&lt;/TD&gt;&lt;TD&gt;1.23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed KWH&lt;/TD&gt;&lt;TD&gt;2382.29&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Operating Revenue&lt;/TD&gt;&lt;TD&gt;358.22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Generation (Post)&lt;/TD&gt;&lt;TD&gt;334.46&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;GTSR Charge&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;GTSR Credit&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;GTSR Indifference Adj&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Aug2020&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;PTR/SEP Fixed Capacity Cr-G&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Months&lt;/TD&gt;&lt;TD&gt;1.77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed KWH&lt;/TD&gt;&lt;TD&gt;1108.08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Operating Revenue&lt;/TD&gt;&lt;TD&gt;119.81&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Generation (Post)&lt;/TD&gt;&lt;TD&gt;143.42&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;GTSR Charge&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;GTSR Credit&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;GTSR Indifference Adj&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Sep2020&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;PTR/SEP Fixed Capacity Cr-G&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Months&lt;/TD&gt;&lt;TD&gt;0.50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed KWH&lt;/TD&gt;&lt;TD&gt;276.67&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Billed Operating Revenue&lt;/TD&gt;&lt;TD&gt;28.63&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Generation (Post)&lt;/TD&gt;&lt;TD&gt;24.71&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;GTSR Charge&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;GTSR Credit&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;GTSR Indifference Adj&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Domestic&lt;/TD&gt;&lt;TD&gt;D-CARE-SDP-O/BUND&lt;/TD&gt;&lt;TD&gt;01Oct2020&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;PTR/SEP Fixed Capacity Cr-G&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 08:05:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Conditional-Formatting-of-Columns-in-ODS-Excel-Report/m-p/704657#M24744</guid>
      <dc:creator>rajesh1980</dc:creator>
      <dc:date>2020-12-09T08:05:34Z</dc:date>
    </item>
    <item>
      <title>PDF Report on One Page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-Report-on-One-Page/m-p/704614#M24740</link>
      <description>&lt;P&gt;Hello SAS Communities,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the following report to be produced on one page instead of two?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS PDF FILE = "&amp;amp;CourseRoot/Documents/Test.pdf";&lt;BR /&gt;PROC REPORT DATA = Results.ChiSqResults;&lt;BR /&gt;COLUMN Statistic&lt;BR /&gt;("Statistical Results" DF Value Prob);&lt;BR /&gt;DEFINE Statistic / 'Test';&lt;BR /&gt;DEFINE Prob / 'P-Value';&lt;BR /&gt;FORMAT Value 4.2&lt;BR /&gt;Prob 4.2;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;PROC PRINT&lt;BR /&gt;DATA = Results.ANOVAResults&lt;BR /&gt;SPLIT = '/'&lt;BR /&gt;OBS = '/Variable';&lt;BR /&gt;LABEL&lt;BR /&gt;Dependent = 'Variable/Name'&lt;BR /&gt;FValue = 'F/Statistic'&lt;BR /&gt;ProbF = '/P-Value';&lt;BR /&gt;RUN;&lt;BR /&gt;ODS PDF CLOSE;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-Report-on-One-Page/m-p/704614#M24740</guid>
      <dc:creator>NikitaTovey</dc:creator>
      <dc:date>2020-12-10T15:05:52Z</dc:date>
    </item>
    <item>
      <title>SAS Excel carriage returns in cells</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Excel-carriage-returns-in-cells/m-p/704485#M24735</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having this weird issue where my Excel files created with SAS have carriage returns in the middle of the cells.&amp;nbsp; It's like SAS is determining the column width at some point and then inserting carriage returns instead of true text wrapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd send over some code, but I'm just using a very basic PROC Print in SAS Studio.&amp;nbsp; I have a feeling it's a settings issue.&amp;nbsp; I'm having some vague recollection of a setting I used back when we had EG that prevented this, but I could be making that up entirely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else run across this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 18:06:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Excel-carriage-returns-in-cells/m-p/704485#M24735</guid>
      <dc:creator>TashaChapWUSS</dc:creator>
      <dc:date>2020-12-08T18:06:41Z</dc:date>
    </item>
    <item>
      <title>Removing elements of an ODS OUTPUT in SAS Studio</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Removing-elements-of-an-ODS-OUTPUT-in-SAS-Studio/m-p/703941#M24733</link>
      <description>&lt;P&gt;Hi there&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with a data set that has&amp;nbsp;&lt;SPAN&gt;573 observations and consists of&amp;nbsp;10 variables.&amp;nbsp;&lt;/SPAN&gt;In the code below, I'm trying to remove some of the elements from my output In the log, I'm getting a blue note that says, "NOTE: ODS statements in the SAS Studio environment may disable some output features." Will the approach (included below) I'm taking not work in SAS Studio?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Step 2: Perform a Chi-Square Test and Save the Results *;&lt;BR /&gt;ODS TRACE ON;&lt;BR /&gt;PROC FREQ DATA = work.Analysis;&lt;BR /&gt;TABLES HypRelDeathInd * StateCd / NOPERCENT NOROW NOCUM CHISQ;&lt;BR /&gt;RUN;&lt;BR /&gt;ODS TRACE OFF;&lt;BR /&gt;&lt;BR /&gt;ODS OUTPUT CrossTabFreqs = Rslt.StatePercents&lt;BR /&gt;(KEEP = StateCd HypRelDeathInd Frequency Colpercent&lt;BR /&gt;WHERE = (HypRelDeathInd = 1 AND MISSING(StateCd) = 0));&lt;/P&gt;&lt;P&gt;ODS OUTPUT ChiSq = WORK.ChiSqResults&lt;BR /&gt;(DROP = TABLE&lt;BR /&gt;WHERE = (Statistic = 'Chi Square'));&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Removing-elements-of-an-ODS-OUTPUT-in-SAS-Studio/m-p/703941#M24733</guid>
      <dc:creator>AnnaWoolery</dc:creator>
      <dc:date>2020-12-10T15:12:55Z</dc:date>
    </item>
    <item>
      <title>Print Line of Text to Tagsets.ExcelXp is broken into multiple lines</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Print-Line-of-Text-to-Tagsets-ExcelXp-is-broken-into-multiple/m-p/703602#M24711</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I can use data _null_ and file print, but not matter what, if the text is a bit long it is broken into multiple lines. Also the next line goes into the next worksheet. Below is the code I am running:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.excelxp file='&lt;STRONG&gt;c:\temp\&lt;/STRONG&gt;CheckScenario.xls'
options(sheet_name="Tab_Name_here" frozen_headers='5' ascii_dots='no');

Data _null_;		
			 Length Text1 $500. Text2 $500.;
			 Text1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it?";
			 Text2 = "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.";
			 file print;
				 put #2 @1 "Header goes here";
				 put #3 @1 "The place for Header2 is here ";
				 put #15 @50 "Relevant information goes here. Working";
				 put #16 @1 Text1;
				 put #17 @1 Text2;
run;
ods tagsets.excelxp close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you run this code you will get a report that does not follow the correct line structure. In short the Text1 will be broken in two lines and encroach on row number 17. Then the Text 2 is pushed to another tab (created automatically) and starts from that tab's 17th row. How can I fix this and get the texts in single line and maintain line numbers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also if I use, option&amp;nbsp;&lt;CODE class=" language-sas"&gt;ascii_dots='no'&lt;/CODE&gt; to get rid of the starting period; then line 3 starts from column 1 instead of &lt;LI-USER uid="290987" login="50"&gt;&lt;/LI-USER&gt; as mentioned. If I do not use this option then the text start at 50 but I get periods at the start of each row. Any way to fix this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 12:52:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Print-Line-of-Text-to-Tagsets-ExcelXp-is-broken-into-multiple/m-p/703602#M24711</guid>
      <dc:creator>SaugataM</dc:creator>
      <dc:date>2020-12-04T12:52:12Z</dc:date>
    </item>
    <item>
      <title>ODS output dataset not being created</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-output-dataset-not-being-created/m-p/703247#M24708</link>
      <description>&lt;PRE&gt;ODS trace on;
proc freq data = data;
tables hypreldeathind*statecd / norow nopercent nocum missing chisq;
run;
ods trace off;

Ods output crosstabfreqs = want (keep = StateCd HypRelDeathInd Frequency ColPercent

 where = (StateCd IN ('IA' 'MS' 'UT') and HypRelDeathInd = 1 and Missing(StateCd = 0)))
 chisq = hyprslt.chisqresults (drop = Table Where = (statistic = 'Chi Square')) ;
 
Proc Print data=data;
run;

Proc contents data = data;
run;

Proc print data=data;
run;&lt;/PRE&gt;&lt;P&gt;I'm receiving errors that the data tables do not exist. It looks like I'm creating them correctly in ODS output though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may be related to warning messages received in log --&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; WARNING: Output 'chisq' was not created.  Make sure that the output object name, label, or path is spelled correctly.  Also, verify 
          that the appropriate procedure options are used to produce the requested output object.  For example, verify that the 
          NOPRINT option is not used.
 WARNING: Output 'crosstabfreqs' was not created.  Make sure that the output object name, label, or path is spelled correctly.  
          Also, verify that the appropriate procedure options are used to produce the requested output object.  For example, verify 
          that the NOPRINT option is not used.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-output-dataset-not-being-created/m-p/703247#M24708</guid>
      <dc:creator>rdevoss</dc:creator>
      <dc:date>2020-12-10T15:10:48Z</dc:date>
    </item>
    <item>
      <title>ODS pdf how to set pagesize</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-pdf-how-to-set-pagesize/m-p/703242#M24706</link>
      <description>&lt;P&gt;I'm creating a pdf report with 4 tables and I want to use PAGESIZE to set each table on one page but failed to do that.&lt;/P&gt;&lt;P&gt;I'm not sure where to put the PAGESIZE option and how to determine the number for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the codes.&lt;/P&gt;&lt;P&gt;ods pdf file='C:\Users\Box\#4\report2.pdf';&lt;BR /&gt;proc print data=q6;&lt;BR /&gt;id Guest;&lt;BR /&gt;by table;&lt;BR /&gt;sum nonbeef;&lt;BR /&gt;sumby table;&lt;BR /&gt;var food;&lt;BR /&gt;title 'Summary of food order by table';&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 00:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-pdf-how-to-set-pagesize/m-p/703242#M24706</guid>
      <dc:creator>MR19</dc:creator>
      <dc:date>2020-12-03T00:38:16Z</dc:date>
    </item>
    <item>
      <title>ODS OUTPUT ISSUES: WARNING OUTPUT NOT CREATED</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-OUTPUT-ISSUES-WARNING-OUTPUT-NOT-CREATED/m-p/702973#M24701</link>
      <description>&lt;P&gt;Hello All, I need help debugging and understanding errors in my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I want&lt;/STRONG&gt; is a permanent dataset named Data.ChiSqResults that looks like this:&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DF&amp;nbsp; &amp;nbsp;Value&amp;nbsp; &amp;nbsp;P-Value&lt;/P&gt;&lt;P&gt;Chi-Square&amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp;1.71&amp;nbsp; &amp;nbsp; &amp;nbsp;0.43&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I start with:&lt;/STRONG&gt;&amp;nbsp;See picture ~"Statistics for Table of Death BY State"&lt;/P&gt;&lt;P&gt;But I run my code I get two warnings and an empty dataset. For some Reason, my Ods Output isn't saving to my Work Library and I don't know why. I tried changing locations to the folder Library.Heartattack but that didn't work either.&lt;/P&gt;&lt;P&gt;I tried closing my SAS and that didn't help either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to get ODS OUTPUT to work one time but I don't know how I did that and it seemed like a goof as it didn't rerun. But even when it did run, I got an empty table (See last picture) as it didn't seem to recognize my IF statement. In addition, I also recieved the sporadic warning: "WARNING: Duplicate data set name on ODS OUTPUT statement. Entry will be ignored." and I don't know what triggers it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TODO:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Isolate the "Chi-Square" Observation in a new Permanent Dataset (HIGHEST PRIORITY)&lt;/LI&gt;&lt;LI&gt;Round the Value and Probability to 2 decimal places without trailing zeroes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CODE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;* Step 2: Perform a Chi-Square Test and Save the Results *; RUN;&lt;BR /&gt;ODS TRACE ON;&lt;BR /&gt;PROC FREQ DATA = heartattack.ANALYSIS2;&lt;BR /&gt;TABLES Death * STATE /CHISQ NOROW NOPERCENT;&lt;BR /&gt;RUN;&lt;BR /&gt;ODS TRACE OFF;&lt;/P&gt;&lt;P&gt;ODS OUTPUT CROSSTABFREQS = WORK.STATES&lt;BR /&gt;CHISQ = WORK.CHISQRESULTS;&lt;/P&gt;&lt;P&gt;/* ODS OUTPUT CROSSTABFREQS = Heartattack.CROSSTABFREQS */&lt;BR /&gt;/* CHISQ = heartattack.CHISQ; */&lt;BR /&gt;&lt;BR /&gt;DATA WORK.CHISQRESULTS;&lt;BR /&gt;SET Heartattack.CHISQRESULTS;&lt;BR /&gt;KEEP STATISTIC DF VALUE PROB;&lt;BR /&gt;LABEL PROB = "P-VALUE";&lt;BR /&gt;IF STATISITIC = "Chi-Square";&lt;BR /&gt;VALUE = ROUND(VALUE, 0.01);&lt;BR /&gt;PROB = ROUND(PROB, 0.01);&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC PRINT DATA = Heartattack.CHISQRESULTS NOOBS;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOG&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: ODS statements in the SAS Studio environment may disable some output features.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;73&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 ODS TRACE ON;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 PROC FREQ DATA = Heartattack.HYPANALYSIS2;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 TABLES HYPRELDEATHIND * STATECD /CHISQ NOROW NOPERCENT;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 RUN;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Output Added:&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;-------------&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Name: CrossTabFreqs&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Label: Cross-Tabular Freq Table&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Template: Base.Freq.CrossTabFreqs&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Path: Freq.Table1.CrossTabFreqs&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;-------------&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Output Added:&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;-------------&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Name: ChiSq&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Label: Chi-Square Tests&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Template: Base.Freq.ChiSq&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Path: Freq.Table1.ChiSq&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;-------------&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: There were 573 observations read from the data set heartattack.HYPANALYSIS2.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE FREQ used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.89 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.67 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 ODS TRACE OFF;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;80 ODS OUTPUT CROSSTABFREQS = WORK.STATEPERCENTS&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;81 CHISQ = WORK.CHISQRESULTS;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;83 /* ODS OUTPUT CROSSTABFREQS = HYPRSLT.CROSSTABFREQS */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;84 /* CHISQ = Heartattack.CHISQ; */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;85&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;86 DATA WORK.CHISQRESULTS;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;87 SET Heartattack.CHISQRESULTS;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;88 KEEP STATISTIC DF VALUE PROB;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;89 LABEL PROB = "P-VALUE";&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;90 IF STATISITIC = "Chi-Square";&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;91 VALUE = ROUND(VALUE, 0.01);&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;92 PROB = ROUND(PROB, 0.01);&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;93 RUN;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Variable STATISITIC is uninitialized.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: There were 6 observations read from the data set Heartattack.CHISQRESULTS.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The data set WORK.CHISQRESULTS has 0 observations and 4 variables.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.19 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.17 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;94&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;95 PROC PRINT DATA = Heartattack.CHISQRESULTS NOOBS;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;96 RUN;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Output 'CHISQ' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;that the appropriate procedure options are used to produce the requested output object. For example, verify that the&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;NOPRINT option is not used.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: Output 'CROSSTABFREQS' was not created. Make sure that the output object name, label, or path is spelled correctly.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;that the NOPRINT option is not used.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: There were 6 observations read from the data set Heartattack.CHISQRESULTS.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.40 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.34 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;97&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;98&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;99 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;111&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&lt;STRONG&gt;SCREENSHOTS&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-12-01 at 10.12.26 PM.png" style="width: 998px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52236i8DA74CEFCB687634/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-12-01 at 10.12.26 PM.png" alt="Screen Shot 2020-12-01 at 10.12.26 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-12-01 at 10.23.32 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52238i5C7C0CED4078C8D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-12-01 at 10.23.32 PM.png" alt="Screen Shot 2020-12-01 at 10.23.32 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-OUTPUT-ISSUES-WARNING-OUTPUT-NOT-CREATED/m-p/702973#M24701</guid>
      <dc:creator>Deanna_Payne</dc:creator>
      <dc:date>2020-12-10T15:14:41Z</dc:date>
    </item>
    <item>
      <title>how to align left xxx1 and align right xxx2 in a same line(not in a tilte)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-align-left-xxx1-and-align-right-xxx2-in-a-same-line-not/m-p/702183#M24697</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file="D:test.rtf";
ods escapechar='^';
title 'table: using ods in proc report';

proc report data=sashelp.class;
	column sex name  ("BMI Parameters" height weight);
	define sex/order;
	define name/display 'student name' style(column)={asis=on cellwidth=1.5 in just=l} flow;
	define height/analysis format=5.1 style(column)={asis=on cellwidth=1.5 in just=l} flow;
	define weight/analysis format=6.2 style(column)={asis=on cellwidth=1.5 in just=l} flow;

    compute after _page_;
          line "footnote: xxxxx";
		  line "^S={just=left}...path\xxx\xxx.sas" "^S={just=right}[&amp;amp;sysdate9.]";  /*1.doesn't work*/
		  line '^R"\ql"' "...path\xxx\xxx.sas"    '^R"\qr"' " [&amp;amp;sysdate9.]"; /*2.doesn't work*/

    endcomp;

run;

title;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here is the sample code&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 663px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/52063iE2FA0EEAD3A76BB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The final result I want is in the picture.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 15:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-align-left-xxx1-and-align-right-xxx2-in-a-same-line-not/m-p/702183#M24697</guid>
      <dc:creator>Wen_23</dc:creator>
      <dc:date>2020-11-28T15:19:47Z</dc:date>
    </item>
    <item>
      <title>How to create a table of contents with ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-a-table-of-contents-with-ODS-PDF/m-p/701192#M24693</link>
      <description>&lt;P&gt;I'm tried to create a table of contents using the example in the SAS documentation (see the example below). I'm not getting the same results my pdf file does not contain a table of contents, please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4M4 on SAS EG 7.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;title "Create a Table of Contents";
options nodate;&lt;/PRE&gt;&lt;PRE&gt;ods pdf file="&lt;SPAN class="xis-userSuppliedValue"&gt;pathname-to-MyDefaultToc&lt;/SPAN&gt;.pdf" contents=yes bookmarklist=hide;&lt;/PRE&gt;&lt;PRE&gt;proc print data=sashelp.cars;
run;

proc print data=sashelp.class;
run;&lt;/PRE&gt;&lt;PRE&gt;ods pdf close;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 12:18:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-a-table-of-contents-with-ODS-PDF/m-p/701192#M24693</guid>
      <dc:creator>Athenkosi</dc:creator>
      <dc:date>2020-11-24T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Hyperlinking in Excel using ODS Excel and PROC REPORT</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlinking-in-Excel-using-ODS-Excel-and-PROC-REPORT/m-p/700582#M24690</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using ODS Excel and PROC REPORT to generate an Excel spreadsheet with multiple worksheets. I am not using tagsets because my understanding is that ExcelXP with tagsets cannot produce an .xlsx file. So, I am specifically looking for a solution using ODS Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Excel spreadsheet there is a worksheet called Datasets, The first column is called Domain and can have 30 to 40 values like AE, CM, DM, DS, etc. Each of these domains (AE, CM, DM, DS, etc) can have there own worksheet in the Excel file with specification for creating the particular dataset (AE, CM, DM, DS). The Datasets worksheet provides a general description of each dataset to be created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do is to hyperlinking each domain listed in the Datasets tab to the specific worksheet in the Excel file.&amp;nbsp; For example, I want to be able to click on AE in the Datasets worksheet and have it take me to the AE worksheet in the Excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any suggestions. I appreciate it very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Hyperlinking-in-Excel-using-ODS-Excel-and-PROC-REPORT/m-p/700582#M24690</guid>
      <dc:creator>cgsmoak56</dc:creator>
      <dc:date>2020-11-20T18:20:54Z</dc:date>
    </item>
    <item>
      <title>How to create double lines after a condition in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-double-lines-after-a-condition-in-proc-report/m-p/699998#M24681</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am new to Proc report and I tried looking for a solution to my question, and although there were lots of useful information and learned a lot of new techniques while researching, I couldn't find a solution to my specific question, so posting here hoping that someone will be able to assist. (especially since I am new to proc report and still getting a handle on its power!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;I have a data set that list by ID and Group if a certain ID is present (Y)&amp;nbsp;or absent(null) under five stages. What I want to be able to do is after each grouping of the stage of Y that there be&amp;nbsp;a double line.&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;My here is the dataset that you can use:&lt;/P&gt;&lt;PRE&gt;data have;
input ID1 $ 1-3 Group1 $ 4-7 stage1 $ 8-9 Stage2 $ 10-11 Stage3 $ 12-13 Stage4 $ 14-15 Stage5 $ 16-17;
return;
cards;
1  down Y        
1  Up   Y		 
2  Up	Y		 
2  down   Y		 
3  down   Y		 
3  Up	  Y		 
4  Up	  Y		 
4  down    	Y	 
5  down    	Y	 
5  Up	    Y	 
6  Up	   	Y	 
6  down       Y	 
7  down       Y	 
7  Up	      Y	 
8  Up	      Y	 
8  down         Y
9  down 		Y
9  Up	        Y
10 Up		    Y
;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I figured out how to gray out rows for each stage that is a "Y" but cant figure out how to add double lines.&lt;/P&gt;&lt;P&gt;Here is the proc report I have working so far (bonus: You will notice that I have five compute statements that are basically doing the same thing for each stage variables, I wonder if there is a way that I can condense it into one so its not repeating).&lt;/P&gt;&lt;PRE&gt;ods pdf file="C:\test.pdf";
   proc report data=have nowd;
     column Group1 ID1 stage1 stage2 stage3 stage4 stage5;
     define Group1 / display;
     define ID1 / display;
	 define stage1 / display;
	 define stage2 / display;
	 define stage3 / display;
	 define stage4 / display;
	 define stage5 / display;
   compute stage1;
     if stage1 ='Y' then call define(_col_,"style","style={background=gray}");
    endcomp;

   compute stage2;
	 if stage2 ='Y' then call define(_col_,"style","style={background=gray}");
   endcomp;

   compute stage3;
     if stage3 ='Y' then call define(_col_,"style","style={background=gray}");
   endcomp;

   compute stage4;
     if stage4 ='Y' then call define(_col_,"style","style={background=gray}");
   endcomp;

   compute stage5;
     if stage5 ='Y' then call define(_col_,"style","style={background=gray}");
   endcomp;
   run;
 ods pdf close;&lt;/PRE&gt;&lt;P&gt;What I would like to be able to add to the proc report codes that indicate to add double line (or even a bold line) after every grouping of the gray cells. See pic of what I would like to have.&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="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51812i99BE37D682591864/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Your help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 21:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-double-lines-after-a-condition-in-proc-report/m-p/699998#M24681</guid>
      <dc:creator>sas_student1</dc:creator>
      <dc:date>2020-11-18T21:23:33Z</dc:date>
    </item>
    <item>
      <title>gplot PNG files stored in a wrong folder</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/gplot-PNG-files-stored-in-a-wrong-folder/m-p/699381#M24672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new with SAS. One of my users encounter the following issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When he ran a EG Project, the run is blocked when a graph should be produced.&lt;/P&gt;&lt;P&gt;And I don't understand why it is blocked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed some PNG files (gplotxxx.png) are stored in SAS/Config/Lev1/SASApp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas on how I can resolve these issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 07:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/gplot-PNG-files-stored-in-a-wrong-folder/m-p/699381#M24672</guid>
      <dc:creator>maubry</dc:creator>
      <dc:date>2020-11-17T07:48:04Z</dc:date>
    </item>
    <item>
      <title>Pivot table editor no hands excel report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-table-editor-no-hands-excel-report/m-p/698954#M24660</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the below code ,when i run this code i am unable to create excel sheet,is it not possible to create excel sheet when we run ODStagsets+tableeditor options,or else do i have to click, export the reults from HTML page and then save it,what if i want to run the code in PC SAS,can anyone of you please help out.&lt;/P&gt;&lt;P&gt;this code is taken from &lt;A href="http://support.sas.com/resources/papers/proceedings12/146-2012.pdf" target="_blank" rel="nofollow noopener noreferrer"&gt;http://support.sas.com/resources/papers/proceedings12/146-2012.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually i have to run all this code on PC SAS,if there is no way in creating excel sheet ,can you please give me some idea's as how it can be achieved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let home = C:\HoW\Eberhardt-Kong_13173;&lt;/P&gt;&lt;P&gt;%let solutionHome = &amp;amp;home.\solutions;&lt;/P&gt;&lt;P&gt;%let exerciseHome = &amp;amp;home.\exercises;&lt;/P&gt;&lt;P&gt;%let dataHome = &amp;amp;home.\data;&lt;/P&gt;&lt;P&gt;%let resultsHome = &amp;amp;home.\results;&lt;/P&gt;&lt;P&gt;%let javaHome = C:\\HoW\\Eberhardt-Kong_13173\;&lt;/P&gt;&lt;P&gt;%let javaDataHome = &amp;amp;javaHome.\data\;&lt;/P&gt;&lt;P&gt;%let javaResultsHome = &amp;amp;javaHome.\results\;&lt;/P&gt;&lt;P&gt;/* assign the libraries */&lt;/P&gt;&lt;P&gt;libname data "&amp;amp;dataHome";&lt;/P&gt;&lt;P&gt;options fullstimer source source2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.tableeditor file="&amp;amp;resultsHome\example1.html"&lt;/P&gt;&lt;P&gt;options(&lt;/P&gt;&lt;P&gt;button_text = "Create PivotTable"&lt;/P&gt;&lt;P&gt;auto_excel = "NO"&lt;/P&gt;&lt;P&gt;pivotrow="product_line"&lt;/P&gt;&lt;P&gt;pivotcol="year"&lt;/P&gt;&lt;P&gt;pivotdata="Profit,Quantity,Total_Retail_Price"&lt;/P&gt;&lt;P&gt;pivotdata_stats=”Sum,Average,Max”&lt;/P&gt;&lt;P&gt;excel_save_file="&amp;amp;JavaResultsHome\example1.xlsx"&lt;/P&gt;&lt;P&gt;quit="yes"&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;Title1 "Example 1 - Create the First Pivot Table";&lt;/P&gt;&lt;P&gt;proc print data=data.sales;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="box-sizing: border-box; font-family: &amp;amp;quot; calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt;"&gt;ods tagsets.tableeditor close&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2020 13:09:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pivot-table-editor-no-hands-excel-report/m-p/698954#M24660</guid>
      <dc:creator>yukki</dc:creator>
      <dc:date>2020-11-15T13:09:22Z</dc:date>
    </item>
    <item>
      <title>titles with ODS Word</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-with-ODS-Word/m-p/698497#M24653</link>
      <description>&lt;P&gt;Trying out ODS Word. I realize it is pre-production.&amp;nbsp; Perhaps I am just writing something wrong.&amp;nbsp; I have 3 different proc prints/ODSTEXT statements each with a unique title.&amp;nbsp; However, I only see the first title showing in the created Word file although in the listing i do see the correct titles.&amp;nbsp; I did turn startpage off to all be on 1 page and when i toggle that back to yes, I do see all 3 titles.&amp;nbsp; Please help me understand why setting startpage=no does not allow me to have separate titles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods word file='h:\testing.docx' sasdate options(body_title='yes' toc_data='on') nogtitle startpage=no;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data=fun;&amp;nbsp;title 'Does it print';&amp;nbsp;run;&lt;/P&gt;&lt;P&gt;proc print data=fun; title '2nd title'; run;&lt;/P&gt;&lt;P&gt;proc print data=fun; title '3rd title'; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods word close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 19:43:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/titles-with-ODS-Word/m-p/698497#M24653</guid>
      <dc:creator>Katie_Lane</dc:creator>
      <dc:date>2020-11-12T19:43:56Z</dc:date>
    </item>
    <item>
      <title>ODS EXCEL SAS EG 8.2 how to remove space in the output when character variable is blank?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-SAS-EG-8-2-how-to-remove-space-in-the-output-when/m-p/698144#M24645</link>
      <description>&lt;P&gt;how to remove space in the output when character variable is blank using ODS EXCEL? I have provided the below sample code and attached excel output file for your quick reference. Kindly note that formula used in "Column C" from test1.xslx file shows that "siteid" has single space inserted but I want to remove this. I am looking for a solution using ODS EXCEL in SAS EG 8.2.&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="1239_0-1605102083917.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51567iCF8F0176EF561A41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1239_0-1605102083917.png" alt="1239_0-1605102083917.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;data have ;
  length SITEID $5 SUBJID $20 ;
  infile cards dsd truncover ;
  input siteid subjid ;

cards;
,102-002-001
,102-008-002
,102-008-008
,102-02-002
;
run;

ods excel file="c:\temp\test1.xlsx" ;
proc print data=have noobs label;
run;
ods excel close ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 14:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-SAS-EG-8-2-how-to-remove-space-in-the-output-when/m-p/698144#M24645</guid>
      <dc:creator>1239</dc:creator>
      <dc:date>2020-11-11T14:18:42Z</dc:date>
    </item>
    <item>
      <title>How to know ODS pdf is on a new page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-know-ODS-pdf-is-on-a-new-page/m-p/697153#M24630</link>
      <description>&lt;P&gt;We are trying to conditionally add blank rows so our bookmarks line up.&amp;nbsp; Which after doing that they do, but on new pages we have 2 blank rows.&amp;nbsp; We were hoping to find a way to know if it's a new page and not put the 2 blank rows.&amp;nbsp; In the example below we would put this check after the obj.body_start().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of our code:&lt;/P&gt;&lt;PRE&gt;  obj.table_start(Label:Templabel, overrides: 'frame=void rules=none cellpadding=0in cellspacing=.06in ') ;
      obj.body_start() ;
        obj.row_start() ;
          obj.format_cell(text: " ", column_span: 2,  overrides: "backgroundcolor=white just=left fontweight=bold font_face='Courier New' font_size=9pt ") ;                
        obj.row_end() ;       
        obj.row_start() ;
          obj.format_cell(text: " ", column_span: 2,  overrides: "backgroundcolor=white just=left fontweight=bold font_face='Courier New' font_size=9pt ") ;                
        obj.row_end() ; &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 14:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-know-ODS-pdf-is-on-a-new-page/m-p/697153#M24630</guid>
      <dc:creator>Jerry8989</dc:creator>
      <dc:date>2020-11-06T14:50:42Z</dc:date>
    </item>
    <item>
      <title>Want to add images in the last page of password protected pdf file by using SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Want-to-add-images-in-the-last-page-of-password-protected-pdf/m-p/695864#M24625</link>
      <description>&lt;P&gt;Dear team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are creating password protected .pdf file by using SAS ODS. The size of pdf do vary, like some time pdf file having 2 pages , some time 3,4 and 5 pages.&lt;/P&gt;
&lt;P&gt;I want to add images in the last page of password protected pdf file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly assist !!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sukhbir Singh&lt;/P&gt;
&lt;P&gt;Mob: 95 82 85 38 56&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 09:36:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Want-to-add-images-in-the-last-page-of-password-protected-pdf/m-p/695864#M24625</guid>
      <dc:creator>ShammiKalsi</dc:creator>
      <dc:date>2020-11-02T09:36:43Z</dc:date>
    </item>
    <item>
      <title>The Output of Paired ttest with weight cannot be written into an Excel file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-Output-of-Paired-ttest-with-weight-cannot-be-written-into-an/m-p/694661#M24621</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to save the output of Paired ttest with weight to an excel file, but I got error message as below:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.PNG" style="width: 843px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51137i3DE09D33044399B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.PNG" alt="error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the weight statement was removed, the output was written into an excel file. Anyone knows how to correct the issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Lizi&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 19:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/The-Output-of-Paired-ttest-with-weight-cannot-be-written-into-an/m-p/694661#M24621</guid>
      <dc:creator>liziwu</dc:creator>
      <dc:date>2020-10-27T19:08:30Z</dc:date>
    </item>
    <item>
      <title>Small Caps for ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Small-Caps-for-ODS-PDF/m-p/694439#M24617</link>
      <description>&lt;P&gt;I am in the process of turning an ODS RTF document into a ODS PDF document for a client and need to find a way to convert small caps. In ODS RTF I just use the tag \scaps. I cannot seem to find an equivalent way of doing this without having to indicate the style font-variant of "small-caps" at every instance. Is it possible to change the template to make all outputs in, say, Heading1 render in small caps?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 06:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Small-Caps-for-ODS-PDF/m-p/694439#M24617</guid>
      <dc:creator>tburus</dc:creator>
      <dc:date>2020-10-27T06:51:37Z</dc:date>
    </item>
    <item>
      <title>ODS PDF Equal column width for different tables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Equal-column-width-for-different-tables/m-p/694199#M24611</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question to improve the visual output of an ODS PDF file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm presenting different tables with PROC REPORT. I could manage to set the width of each table equally. Unfortunately, the columnwidth of both tables are not the same, which looks kinda bad. Is there a way to set the width of each column in each table to one size?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="&amp;amp;outpath/example.pdf" style=sapphire startpage=never;
	title "Title";
  proc report data=sashelp.cars style(report)={width=80%};
where MAKE ="Acura";
column Model Origin Type;
run;
proc report data=sashelp.cars style(report)={width=80%};
where MAKE ="Acura";
column EngineSize Horsepower Weight;&lt;BR /&gt;run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 10:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Equal-column-width-for-different-tables/m-p/694199#M24611</guid>
      <dc:creator>AdamD1</dc:creator>
      <dc:date>2020-10-26T10:01:45Z</dc:date>
    </item>
    <item>
      <title>produce .out file report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/produce-out-file-report/m-p/694170#M24608</link>
      <description>&lt;P&gt;We are asked to produce a report in .out (extension name) file, rather than .rtf or .pdf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have any experience on this? Thanks for your inputs in adavance!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to set the page margins, font, font size for .out file within sas?&lt;/P&gt;&lt;P&gt;How to generate a solid line for .out file in sas?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 07:26:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/produce-out-file-report/m-p/694170#M24608</guid>
      <dc:creator>null</dc:creator>
      <dc:date>2020-10-26T07:26:45Z</dc:date>
    </item>
    <item>
      <title>computed variables under across variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/computed-variables-under-across-variables/m-p/693191#M24595</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to collapse median, q1 and q3 for an analysis variable to have them displayed in one cell in the final report. It works as long as I use only group variables, as soon as I switch to across variables I get an error:&lt;/P&gt;&lt;P&gt;ERROR: The variable type of 'MSRP.MEDIAN'n is invalid in this context.&lt;/P&gt;&lt;P&gt;So this works:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars;
	columns Origin Make Type msrp msrp=msrpq1 msrp=msrpq3 stats;
	define Origin /" " group;
	define Make /" " group;
	define Type / " " group;

	define msrp / analysis median noprint;
	define msrpq1 / analysis q1 noprint;
	define msrpq3 / analysis q3 noprint;
	define stats / computed;

	compute stats / character length=50;
		stats = catt(put(msrp.median, dollar7.1-l), " (", put(msrpq1, dollar7.1-l), "-", put(msrpq3, dollar7.1-l), ")");
	endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But this does not:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars;
	columns Origin Make Type msrp msrp=msrpq1 msrp=msrpq3 stats;
	define Origin /" " group;
	define Make /" " group;
	define Type / " " group;

	define msrp / analysis median noprint;
	define msrpq1 / analysis q1 noprint;
	define msrpq3 / analysis q3 noprint;
	define stats / computed;

	compute stats / character length=50;
		stats = catt(put(msrp.median, dollar7.1-l), " (", put(msrpq1, dollar7.1-l), "-", put(msrpq3, dollar7.1-l), ")");
	endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Ultimately I would like to obtain a table similar to one generated by below code, but with median, q1 and q3 collapsed into one computed variable:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars;
	columns Origin Make Type, msrp, (n median q1 q3);
	define Origin /" " group;
	define Make /" " group;
	define Type / " " across;
	define n / format=2.;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What am I missing? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 14:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/computed-variables-under-across-variables/m-p/693191#M24595</guid>
      <dc:creator>js5</dc:creator>
      <dc:date>2020-10-21T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Adding a background behind table</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-a-background-behind-table/m-p/692985#M24592</link>
      <description>&lt;P&gt;I want to add a simple grey background behind a table in a pdf. I can put a grey bar as a background image for text, but can't seem to do it for a table. Is there an option to create this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf text = "^{style [cellwidth=8.5in cellheight=0.41in backgroundimage='D:\Graphics\grey_bar.png'];

proc report data=table 
style(header) = [background=gray foreground=white just=center vjust=center fontsize=&amp;amp;table_font fontweight=bold fontfamily=calibri]
col col_1 col_2 col_3 col_4 obs;

define col_1 /"Column 1" ;
define col_2 /"Column 2" ;
define col_3 /"Column 3" ;
define col_4 /"Column 4" ;
define obs /computed noprint;

compute obs;
obsno + 1;
obs = obsno;

if mod(obs,2) = 0 then 
call define (_row_, 'style', 'style = [background = lightgrey]');
endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 19:15:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Adding-a-background-behind-table/m-p/692985#M24592</guid>
      <dc:creator>j-solver</dc:creator>
      <dc:date>2020-10-20T19:15:05Z</dc:date>
    </item>
    <item>
      <title>Insert image to proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Insert-image-to-proc-report/m-p/692383#M24584</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to add an image to my pdf report in SAS EG but not been successful. Even when I run the following code which is a sample code for inserting an image, the image does not load and shows only a paper icon with an X on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class(obs=3) nowd&lt;BR /&gt;style(report)=&lt;BR /&gt;{preimage="&lt;A href="http://www.sas.com/images/logos/SAS_TPTK_logo.gif" target="_blank"&gt;http://www.sas.com/images/logos/SAS_TPTK_logo.gif&lt;/A&gt;"};&lt;BR /&gt;title 'Use URL for PREIMAGE';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what the issue is here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;JLee&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jlee8_0-1603046989017.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50754i41000E901D24D8EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jlee8_0-1603046989017.png" alt="jlee8_0-1603046989017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=sashelp.class(obs=3) nowd&lt;BR /&gt;style(report)=&lt;BR /&gt;{preimage="X:\Local\Folder\LOGO.png"};&lt;BR /&gt;title 'Use local file for PREIMAGE';&lt;BR /&gt;run;&lt;BR /&gt;ods html close;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 18:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Insert-image-to-proc-report/m-p/692383#M24584</guid>
      <dc:creator>jlee8</dc:creator>
      <dc:date>2020-10-18T18:50:42Z</dc:date>
    </item>
    <item>
      <title>How do I fix ODS PDF error in JCL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-fix-ODS-PDF-error-in-JCL/m-p/692377#M24583</link>
      <description>&lt;P&gt;I have a PS file of FB 200 and I am using SAS (9.4) in JCL to create PDF. Below code I used in JCL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//SAS.SYSIN DD *&lt;BR /&gt;OPTIONS NOERRABEND;&lt;BR /&gt;DATA X;&lt;BR /&gt;INFILE IN;&lt;BR /&gt;INPUT @1 NAME $128.;&lt;BR /&gt;RUN;&lt;BR /&gt;FILENAME OUTPDF 'TEST.SAS.PDF' DISP=MOD;&lt;BR /&gt;&lt;BR /&gt;ods _all_ close;&lt;BR /&gt;ods pdf file='test.sas.pdf';&lt;BR /&gt;PROC PRINT DATA=X;&lt;BR /&gt;RUN;&lt;BR /&gt;ODS PDF CLOSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the job is giving return code 08 with SAS log statements as below.&lt;/P&gt;&lt;P&gt;I am unable to figure out what is the error in the statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: The address space has used a maximum of 1052K below the line and 29596K above the line.&lt;BR /&gt;2 The SAS System&lt;BR /&gt;&lt;BR /&gt;6 FILENAME OUTPDF 'TEST.SAS.PDF' DISP=MOD;&lt;BR /&gt;7&lt;BR /&gt;8 ods _all_ close;&lt;BR /&gt;9 ods pdf file='test.sas.pdf';&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: . &lt;/FONT&gt;&lt;BR /&gt;10 PROC PRINT DATA=X;&lt;BR /&gt;11 RUN;&lt;BR /&gt;&lt;BR /&gt;NOTE: Due to ERROR(s) above, SAS set option OBS=0, enabling syntax check mode.&lt;BR /&gt;This prevents execution of subsequent data modification statements.&lt;BR /&gt;NOTE: The PROCEDURE PRINT used 0.00 CPU seconds and 37787K.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 17:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-I-fix-ODS-PDF-error-in-JCL/m-p/692377#M24583</guid>
      <dc:creator>kris001</dc:creator>
      <dc:date>2020-10-18T17:25:22Z</dc:date>
    </item>
    <item>
      <title>Long list of variables (22) to fit a page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Long-list-of-variables-22-to-fit-a-page/m-p/691515#M24577</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a long list of variables (22) variable to output on a single page(fit a page) using a proc report. it has been difficult so i opted to divide the listing into 2 parts but retain ID and visit throughout.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please assist on how i can do this. see below the data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NUM,ENROLL_DT,IEDAT,DSDAT,DSSTDAT,FASMEDDT,FASOCDT,WEEK0DT,WEEK6DT,WEEK8DT,WEEK16DT,WEEK18DT,WEEK30DT,WEEK32DT,WEEK54DT,WEEK56DT,_page,usubjid1,visit,rand,saffl,cnt&lt;BR /&gt;6,16AUG2018,16AUG2018,11SEP2019,16AUG2018,16AUG2018,25MAR2019,16AUG2018,27SEP2018,,,28DEC2018,25MAR2019,,11SEP2019,,1,01,16,Y,Y,1&lt;BR /&gt;8,17AUG2018,17AUG2018,18OCT2019,17AUG2018,17AUG2018,23APR2019,17AUG2018,,30OCT2018,28DEC2018,,,23APR2019,,18OCT2019,1,02,16,Y,Y,2&lt;BR /&gt;6,20AUG2018,20AUG2018,12SEP2019,20AUG2018,20AUG2018,18MAR2019,20AUG2018,01OCT2018,,,24DEC2018,18MAR2019,,12SEP2019,,1,03,16,Y,Y,3&lt;BR /&gt;8,20AUG2018,20AUG2018,12SEP2019,20AUG2018,20AUG2018,26MAR2019,20AUG2018,,15OCT2018,10DEC2018,,26MAR2019,,12SEP2019,,1,04,16,Y,Y,4&lt;BR /&gt;8,20AUG2018,20AUG2018,12MAR2019,20AUG2018,20AUG2018,12MAR2019,20AUG2018,,05NOV2018,,,12MAR2019,,,,1,05,16,Y,Y,5&lt;BR /&gt;6,20AUG2018,20AUG2018,20SEP2019,20AUG2018,20AUG2018,08MAR2019,20AUG2018,02OCT2018,,,,08MAR2019,,20SEP2019,,1,06,16,Y,Y,6&lt;BR /&gt;8,21AUG2018,21AUG2018,03OCT2019,21AUG2018,21AUG2018,02APR2019,21AUG2018,,16OCT2018,11DEC2018,,,02APR2019,,03OCT2019,1,07,16,Y,Y,7&lt;BR /&gt;8,21AUG2018,21AUG2018,17SEP2019,21AUG2018,21AUG2018,02APR2019,21AUG2018,,16OCT2018,11DEC2018,,,02APR2019,,17SEP2019,1,08,16,Y,Y,8&lt;BR /&gt;8,21AUG2018,21AUG2018,30JAN2019,21AUG2018,21AUG2018,,21AUG2018,,02NOV2018,02JAN2019,,,,,,1,09,16,Y,Y,9&lt;BR /&gt;6,21AUG2018,21AUG2018,05APR2019,21AUG2018,21AUG2018,05APR2019,21AUG2018,31OCT2018,,,,05APR2019,,,,1,10,16,Y,Y,10&lt;BR /&gt;8,21AUG2018,21AUG2018,01OCT2019,21AUG2018,21AUG2018,09APR2019,21AUG2018,,16OCT2018,11DEC2018,,,09APR2019,,01OCT2019,1,11,16,Y,Y,11&lt;BR /&gt;6,21AUG2018,21AUG2018,03SEP2019,21AUG2018,21AUG2018,19MAR2019,21AUG2018,03OCT2018,,,24DEC2018,19MAR2019,,03SEP2019,,1,12,16,Y,Y,12&lt;BR /&gt;6,22AUG2018,22AUG2018,04SEP2019,22AUG2018,22AUG2018,20MAR2019,22AUG2018,03OCT2018,,,28DEC2018,20MAR2019,,04SEP2019,,1,13,16,Y,Y,13&lt;BR /&gt;6,22AUG2018,22AUG2018,20SEP2019,22AUG2018,22AUG2018,22MAR2019,22AUG2018,03OCT2018,,,27DEC2018,22MAR2019,,20SEP2019,,1,14,16,Y,Y,14&lt;BR /&gt;8,22AUG2018,22AUG2018,18SEP2019,22AUG2018,22AUG2018,03APR2019,22AUG2018,,17OCT2018,12DEC2018,,,03APR2019,,18SEP2019,1,15,16,Y,Y,15&lt;BR /&gt;8,23AUG2018,23AUG2018,26SEP2019,23AUG2018,23AUG2018,11APR2019,23AUG2018,,22OCT2018,20DEC2018,,,11APR2019,,26SEP2019,1,16,16,Y,Y,16&lt;BR /&gt;8,23AUG2018,23AUG2018,08APR2019,23AUG2018,23AUG2018,08APR2019,23AUG2018,,,11DEC2018,,,08APR2019,,,1,17,16,Y,Y,17&lt;BR /&gt;8,23AUG2018,23AUG2018,10OCT2019,23AUG2018,23AUG2018,18APR2019,23AUG2018,,19OCT2018,20DEC2018,,,18APR2019,,10OCT2019,1,18,16,Y,Y,18&lt;BR /&gt;6,23AUG2018,23AUG2018,02JAN2019,23AUG2018,23AUG2018,,23AUG2018,04OCT2018,,,,,,,,1,19,16,Y,Y,19&lt;BR /&gt;6,28AUG2018,23AUG2018,30JAN2019,23AUG2018,28AUG2018,,28AUG2018,08OCT2018,,,,,,,,1,20,16,Y,Y,20&lt;BR /&gt;8,28AUG2018,28AUG2018,04OCT2019,28AUG2018,28AUG2018,12APR2019,28AUG2018,,26OCT2018,21DEC2018,,,12APR2019,,04OCT2019,1,21,16,Y,Y,21&lt;BR /&gt;8,28AUG2018,28AUG2018,24SEP2019,28AUG2018,28AUG2018,09APR2019,28AUG2018,,23OCT2018,18DEC2018,,,09APR2019,,24SEP2019,1,22,16,Y,Y,22&lt;BR /&gt;8,28AUG2018,28AUG2018,25SEP2019,28AUG2018,28AUG2018,09APR2019,28AUG2018,,23OCT2018,18DEC2018,,,09APR2019,,25SEP2019,1,23,16,Y,Y,23&lt;BR /&gt;8,29AUG2018,29AUG2018,25OCT2019,29AUG2018,29AUG2018,10MAY2019,29AUG2018,,22OCT2018,21DEC2018,,,10MAY2019,,25OCT2019,1,24,16,Y,Y,24&lt;BR /&gt;8,29AUG2018,29AUG2018,30OCT2019,29AUG2018,29AUG2018,14MAY2019,29AUG2018,,09NOV2018,04JAN2019,,,14MAY2019,,30OCT2019,1,25,16,Y,Y,25&lt;BR /&gt;8,29AUG2018,29AUG2018,31OCT2018,29AUG2018,29AUG2018,,29AUG2018,,,,,,,,,1,26,16,Y,Y,26&lt;BR /&gt;6,03SEP2018,03SEP2018,13SEP2019,29AUG2018,03SEP2018,29MAR2019,03SEP2018,12OCT2018,,,04JAN2019,29MAR2019,,13SEP2019,,1,27,16,Y,Y,27&lt;BR /&gt;6,03SEP2018,03SEP2018,16SEP2019,03SEP2018,03SEP2018,01APR2019,03SEP2018,15OCT2018,,,07JAN2019,01APR2019,,16SEP2019,,1,28,16,Y,Y,28&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 13:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Long-list-of-variables-22-to-fit-a-page/m-p/691515#M24577</guid>
      <dc:creator>Dinkepile</dc:creator>
      <dc:date>2020-10-14T13:10:43Z</dc:date>
    </item>
    <item>
      <title>"A component of ... is not a directory" error when exporting multiple sheets using ODS EXCEL</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/quot-A-component-of-is-not-a-directory-quot-error-when-exporting/m-p/691430#M24574</link>
      <description>&lt;P&gt;I have a cross-sectional dataset with one observation of a integer variable for each individual. Individuals belong to 3 groups. I want to get the frequency distribution of the integer variable across individuals separately for each group and export the results to one Excel file (called FILENAME) with one sheet for each group. I use ODS EXCEL .&lt;/P&gt;&lt;P&gt;Results for the first group export without issues, but the second group produces the following error:&lt;/P&gt;&lt;P&gt;"A component of PATHNAME\FILENAME.xlsx&amp;nbsp;is not a directory.&amp;nbsp;ERROR: No body file. EXCEL output will not be created." where PATHNAME is the path for the folder where I want to save the Excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a simple example with a SAS Help dataset:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
set 	sashelp.Class;
run;

*Female;
ods excel file="PATHNAME\test.xlsx" 
	options(sheet_name="Female" 
			embedded_titles="yes"
			embed_titles_once="yes");


proc freq data = test(where=(sex="F"));
	label Age='Age at survey';
	tables age;
	title "Age at survey for female participants";
run;


*Male;
ods excel file="PATHNAME\test.xlsx" 
	options(sheet_name="Male" 
			embedded_titles="yes"
			embed_titles_once="yes");


proc freq data = test(where=(sex="M"));
	label Age='Age at survey';
	tables age;
	title "Age at survey for male participants";
run;

ods excel close;	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The sheet for female individuals exports without issues, but the sheet for male individuals generates the following error right after the ODS EXCEL statement and before the PROC FREQ statement:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: A component of PATHNAME\test.xlsx is not a directory.&lt;BR /&gt;ERROR: No body file. EXCEL output will not be created.&lt;BR /&gt;NOTE: Writing EXCEL file: S:\Projects\COVID19_ESPI\Community Cohort\3_Output\Non_response\test.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I solve this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw that for exporting html files defining the path and file separately can work. However, ods excel does not seem to support that option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 23:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/quot-A-component-of-is-not-a-directory-quot-error-when-exporting/m-p/691430#M24574</guid>
      <dc:creator>Zoe8SAS</dc:creator>
      <dc:date>2020-10-13T23:04:23Z</dc:date>
    </item>
    <item>
      <title>Add Text to Date Column Summary</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Add-Text-to-Date-Column-Summary/m-p/691174#M24569</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a ODS Excel SAS PROC report which has Date column and i am group on that column as well. However towards the end i want to add the text 'TOTALS' to this date column summary. But since the column is formatted as DATE it is not displaying the text field. Any inputs on how to achieve this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how my program looks like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc report data=CUST_REV_MONTHLY nowd spanrows 
style(report)=[bordercolor=black borderwidth=3pt]
style(header)=[verticalalign=middle backgroundcolor=cx4C7DC4 foreground=white]
style(summary)=[backgroundcolor=black foreground=white fontstyle=roman fontweight=bold bordercolor=black borderwidth=2pt]

;

	column pstng_dt contract lcontract billdocn stmt_amt_sum kwh_sum oper_amt_sum;

	define pstng_dt / f=mmddyy10. order=internal 'POSTING DATE' group style(column)=[vjust=middle just=left backgroundcolor=cx4C7DC4 fontweight=bold foreground=white];

	define contract / 'CONTRACT' group style(column)=[vjust=middle just=left backgroundcolor=cx4C7DC4 fontweight=bold foreground=white];
	define lcontract / 'LEGACY CONTRACT' group style(column)=[vjust=middle just=left backgroundcolor=cx4C7DC4 fontweight=bold foreground=white];
	define billdocn / 'BILL DOC NO' group style(column)=[vjust=middle just=left backgroundcolor=cx4C7DC4 fontweight=bold foreground=white];

	define stmt_amt_sum / 'STMT REV AMT' style(column)=[backgroundcolor = white tagattr='format:$#,##0.00;[Red]($#,##0.00);0.00;'] ;
	define kwh_sum / 'KWH USAGE' style(column)=[backgroundcolor = lightgrey];
	define oper_amt_sum / 'OPER REV AMT' style(column)=[backgroundcolor = cxABABAB tagattr='format:$#,##0.00;[Red]($#,##0.00);0.00;'] ;

	break after pstng_dt / summarize; /* Every time the pstng_dt Changes Summarize the table (SubTotal)*/

	compute after;
		pstng_dt = "TOTALS" ; /*When everything ends Add the literal 'Total' in the pstng_dt columns*/
	endcomp;

	rbreak after / summarize; /* Finally summarize the whole table (Grand Totals)*/

run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what im getting&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajesh1980_0-1602579042940.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50597i957FD2D538B49073/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajesh1980_0-1602579042940.png" alt="rajesh1980_0-1602579042940.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how i want it&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajesh1980_1-1602579132613.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50598iF8DF27F0D960994B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajesh1980_1-1602579132613.png" alt="rajesh1980_1-1602579132613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly Help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards..&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 08:52:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Add-Text-to-Date-Column-Summary/m-p/691174#M24569</guid>
      <dc:creator>rajesh1980</dc:creator>
      <dc:date>2020-10-13T08:52:58Z</dc:date>
    </item>
    <item>
      <title>ODS excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690482#M24546</link>
      <description>&lt;P&gt;Hi, I am working on Linux.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to create a excel spreadsheet with multiple pages. I am running a stored proc via SAS ECM (using grid-action). The stored process essentially run a query and builds a few tables wit various structures, hence the need to write multiple sheets. I am then using _webout as a file destination to download the file to my machine. The procedure works fine with one table. The minute I add a second proc print I get an excel error stating that the format and extension of 'filename.xls' don't math. The file could be corrupt or unsafe. Unless you trust... I click yes to open and then it gives me three choices in an Open XML box, 1. As an XML table, 2. As a read-only Workbook, 3. Use the xml source pane. Any option fails to open the file. I have tried swapping content types, filename extensions, no luck. With the code below, if I choose just to print one table, I still get the format and extension message, but hen I click yes to open it works fine and I get the results. Your help would be appreciated. Thank you in advance. My code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing close; 
data _null_; 
rc = stpsrv_header('Content-type','application/vnd.ms-excel'); 
run; 

data _null_; 
rc = stpsrv_header('Content-type','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); 
run; 

data _null_; 
rc = stpsrv_header('Content-disposition', "attachment; filename=subpoena_&amp;amp;caserk._txns.xls"); 
run; 

ODS excel FILE=_webout style=plateau OPTIONS(SHEET_NAME="Class"); proc print data=FITACCTSTXNS; 
run;quit; 

ODS excel FILE=_webout style=plateau OPTIONS(SHEET_NAME="Class2"); proc print data=PACS_057JTXNS; 
run;quit;

 ods excel close ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Oct 2020 16:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel/m-p/690482#M24546</guid>
      <dc:creator>brendanb</dc:creator>
      <dc:date>2020-10-09T16:35:59Z</dc:date>
    </item>
    <item>
      <title>How can i filter rows with a value with ods excel?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-i-filter-rows-with-a-value-with-ods-excel/m-p/689602#M24541</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to extract some information for the table sashelp.shoes in a excel file with the bellow instruction but I also want to filter the column "Product" (second column) for the values "Sandal" and "Boot" and at the end create an excel with all the observations and the table filter by the column "Product"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have all observations but the default view to be one with just Sandal/Boots and if i want in the Excel see the other values for that column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I update my program to have all the observations and also included the filter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel file="C:\Reportes\Testshoes.xlsx" options(sheet_name="Test");&lt;BR /&gt;ods excel options (autofilter = 'all');&lt;BR /&gt;proc report data=sashelp.shoes; columns _all_;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I update proc report as the bellow line, it's only export the rows with these values, and I need to export all the lines in the excel and selected the filter with these values in the Excel.&lt;/P&gt;&lt;P&gt;proc report data=sashelp.shoes(where=(product="Sandal" or product='Boot'));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated my program and now it creates the filter but it's not executed when i open the excel and I don't know how it can be executed in an automatically way by the ods option and also i would like to include in the filter more values as Boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel file="C:\Reportes\Testshoes.xlsx" options(sheet_name="Test");&lt;/P&gt;&lt;P&gt;ods excel options (autofilter='2' autofilter_values='Sandal');&lt;BR /&gt;proc report data=sashelp.shoes; columns _all_; run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 09:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-i-filter-rows-with-a-value-with-ods-excel/m-p/689602#M24541</guid>
      <dc:creator>MIsabel</dc:creator>
      <dc:date>2020-10-09T09:20:14Z</dc:date>
    </item>
    <item>
      <title>Color background of group name in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-background-of-group-name-in-proc-report/m-p/688968#M24529</link>
      <description>&lt;P&gt;Good afternoon.&amp;nbsp; I've been looking for a solution to this problem for a while and have had no luck.&amp;nbsp; I will start by saying that, although I've used sas for a while now, the functions of proc report are still rather new to me.&amp;nbsp; That said, I have a group of variables that I wanted 2 headers for.&amp;nbsp; I was hoping to find a way to just color the background of the top header (Names) and not the entire header row.&lt;/P&gt;&lt;PRE&gt;data person;
   input name $ dept $;
   datalines;
John Sales
Mary Acctng
;
run;

proc report data=person out=stuff
style(report)={font_size=8pt} 
style(header)={font_weight=bold borderwidth=0 borderspacing=0 font_size=9pt };
COLUMN ("All Data" ("Names" Name) ("Department" Dept));

define Name / display style(column)=[cellwidth=1.2in];
define Dept / display style(column)=[cellwidth=1.2in];
run;&lt;/PRE&gt;&lt;P&gt;I've tried using call define, but can't figure out how to use that method to target just the cell that the header appears in.&amp;nbsp; I've also tried to manipulate the style in the column statement to no avail.&amp;nbsp; Hoping there's a rather easy method to this madness that doesn't require me to be an advanced coder to sort out.&amp;nbsp; Any help you can provide is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 19:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-background-of-group-name-in-proc-report/m-p/688968#M24529</guid>
      <dc:creator>Knopperoni</dc:creator>
      <dc:date>2020-10-05T19:05:05Z</dc:date>
    </item>
    <item>
      <title>ODS RTF coumns jumped to second page while re running proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-coumns-jumped-to-second-page-while-re-running-proc/m-p/688754#M24519</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an issue with RTF output,&amp;nbsp; I have a data with 4 columns and rows that are enough to fit in one page,&lt;/P&gt;&lt;P&gt;in proc report assigned cell width for the column1 as 4.5 in and rest 1 in each and looks good on RTF after executing the program, and the problem starts when I rerun the same program on a fresh session then page margins on rtf were narrowed and the last column is moved to second page, but this issue is getting rectified immediately after re-running the code on the same session, Can someone please explain why this is happening while running the prog for the first time on a new session.&lt;/P&gt;&lt;P&gt;Please note: Page margins were assigned as&lt;/P&gt;&lt;P&gt;options leftmargin = rightmargin= topmargin= bottommargin=&amp;nbsp; , on top of the proc report code&lt;/P&gt;&lt;P&gt;and style that I have selected for reporting is styles.rtf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated and that means a lot to me&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 14:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-RTF-coumns-jumped-to-second-page-while-re-running-proc/m-p/688754#M24519</guid>
      <dc:creator>s_manoj</dc:creator>
      <dc:date>2020-10-04T14:27:20Z</dc:date>
    </item>
    <item>
      <title>PROC ODS - Highlighting a cell</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-ODS-Highlighting-a-cell/m-p/688085#M24515</link>
      <description>&lt;P&gt;Hi - I need to highlight a variance (cell)&amp;nbsp; that is &amp;gt;=15% or &amp;lt;=-15%. Below is the sample and code. Please help. Thanks.&lt;/P&gt;&lt;P&gt;ODS EXCEL;&lt;/P&gt;&lt;P&gt;PROC REPORT Data=DATA1&lt;/P&gt;&lt;P&gt;COLUMNS First Group Second Group Date_MMYYYY, TOTAL_COUNT Date_MMYYYY,VARIANCE;&lt;BR /&gt;define FIRST GROUP / group 'First group' ORDER = INTERNAL;&lt;BR /&gt;define SECOND GROUP / group 'Second Group' ORDER = INTERNAL;&lt;BR /&gt;define DATE_MMYY / across '';&lt;BR /&gt;define TOTAL_COUNT / analysis '' format=comma20.;&lt;BR /&gt;define VARIANCE / analysis '' format=percent8.2;&lt;/P&gt;&lt;P&gt;Run;&lt;BR /&gt;title;&lt;/P&gt;&lt;P&gt;ods excel close;&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="DLROW_0-1601520488890.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50033i069F2CC0D7455CB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DLROW_0-1601520488890.png" alt="DLROW_0-1601520488890.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 02:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-ODS-Highlighting-a-cell/m-p/688085#M24515</guid>
      <dc:creator>DLROW</dc:creator>
      <dc:date>2020-10-01T02:57:28Z</dc:date>
    </item>
    <item>
      <title>Insert blank line to separate horizontal borders</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Insert-blank-line-to-separate-horizontal-borders/m-p/687438#M24510</link>
      <description>&lt;P&gt;Hi, everyone. Could help me with my output?&lt;/P&gt;&lt;P&gt;i should insert blank lines to separate horizontal borders.&lt;/P&gt;&lt;P&gt;this is my code:&lt;/P&gt;&lt;PRE&gt;ods pdf style=sasdocprinter file="/home/u35846133/outputs/test1.pdf";

proc report data=sashelp.cars nowd spanrows;
	column make model type MSRP invoice;
	define make /group;
	define model /display;
	define type /display;
	define MSRP /display;
	define invoice /display;
	
compute before make;
	line " ";
endcomp;
run;

ods pdf close;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:17:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Insert-blank-line-to-separate-horizontal-borders/m-p/687438#M24510</guid>
      <dc:creator>IvanCh</dc:creator>
      <dc:date>2020-09-29T08:17:31Z</dc:date>
    </item>
    <item>
      <title>Exporting Header-Only (no Observations) to Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-Header-Only-no-Observations-to-Excel/m-p/687193#M24499</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I am looking for a way to export only the header of a dataset to Excel. No matter whether I tried, from starting with an empty dataset to using a filter right before the export, SAS doesn't export the tab that contains a header only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions would be highly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-Header-Only-no-Observations-to-Excel/m-p/687193#M24499</guid>
      <dc:creator>SB_145</dc:creator>
      <dc:date>2020-09-28T13:47:17Z</dc:date>
    </item>
  </channel>
</rss>

