<?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>All ODS and Base Reporting posts</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/bd-p/ods_base_reporting</link>
    <description>All ODS and Base Reporting posts</description>
    <pubDate>Thu, 22 Jul 2021 17:15:16 GMT</pubDate>
    <dc:creator>ods_base_reporting</dc:creator>
    <dc:date>2021-07-22T17:15:16Z</dc:date>
    <item>
      <title>Re: ODS PDF image resolution</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-image-resolution/m-p/755962#M25133</link>
      <description>&lt;P&gt;You don't show where you might be attempting to use any image resolution setting so it is hard to make pointed suggestions.&lt;/P&gt;
&lt;P&gt;Generally the image settings such as DPI in SAS only relates to graphs created by SAS. Are you referencing an image made by something else and expecting SAS to re-build the image to a different resolution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, does your log include any notes or messages about image resolution and/or memory constraints when creating/using the images?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 14:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-image-resolution/m-p/755962#M25133</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-22T14:41:04Z</dc:date>
    </item>
    <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>Re: 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/755709#M25131</link>
      <description>Thank you for your help and linking the reference papers. This solved my issue!</description>
      <pubDate>Wed, 21 Jul 2021 17:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Centering-Text-Using-ODS-TAGSETS-RTF/m-p/755709#M25131</guid>
      <dc:creator>jackieme</dc:creator>
      <dc:date>2021-07-21T17:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: 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/755636#M25130</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You need to make a STYLE template change with PDF and RTF destinations to alter the justification of the ODS TEXT strings in the output. The style element that changes the ODS TEXT value is the USERTEXT style element. Here's an example, compared to changing title:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1626877096260.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61483i5D3F6A536496E582/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1626877096260.png" alt="Cynthia_sas_0-1626877096260.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll find more about changing style templates in this paper&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings10/033-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/033-2010.pdf&lt;/A&gt;&amp;nbsp; and about templates in general in this paper: &lt;A href="https://support.sas.com/resources/papers/proceedings09/227-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings09/227-2009.pdf&lt;/A&gt;&amp;nbsp;..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 14:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Centering-Text-Using-ODS-TAGSETS-RTF/m-p/755636#M25130</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-21T14:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: 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/755635#M25129</link>
      <description>&lt;P&gt;You have to tell SAS how wide the text display area is. Add a Leftmargin= 1in and Rightmargin=1in or similar to the ODS Text. Pick your measurement as needed and you can use units of IN (inches) CM (centimeters) . There are other units but this are pretty easily understood.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 14:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Centering-Text-Using-ODS-TAGSETS-RTF/m-p/755635#M25129</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-21T14:21:52Z</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>Re: ODS EXCEL AND HOW TO INSERT AN IMAGE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-AND-HOW-TO-INSERT-AN-IMAGE/m-p/755508#M25127</link>
      <description>&lt;P&gt;&amp;nbsp;I would like to see the&amp;nbsp;&lt;SPAN&gt;combination of R and SAS solution, but the link doesn't work, and there's not enough information about how to find it on the Georgia University website (if it's still there...)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 00:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-EXCEL-AND-HOW-TO-INSERT-AN-IMAGE/m-p/755508#M25127</guid>
      <dc:creator>RJB_NZ</dc:creator>
      <dc:date>2021-07-21T00:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: 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/755489#M25126</link>
      <description>&lt;P&gt;Yes that is perfect, thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 21:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-borders-in-PROC-REPORT-and-ODS-Excel/m-p/755489#M25126</guid>
      <dc:creator>bstarr</dc:creator>
      <dc:date>2021-07-20T21:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: 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/755486#M25125</link>
      <description>&lt;P&gt;Since it appears to be a conditional border, that can be done by adding a new variable prior to reporting. This variable is set to 1 for the last entry of each group. See code below:&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;

PROC SORT data=test2;
BY Make year;
RUN;

DATA test3;
SET test2;
BY Make year NOTSORTED;
IF LAST.Make or last.year THEN rowline=1;
RUN;

ods excel file="H:\Sample Proc Report.xlsx";
proc report data=test3 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) rowline;
        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 borderbottomcolor=white bordertopcolor=white] ;
        define MSRP / "MSRP" group style(column)=[cellwidth=.65in];
		DEFINE ROWLINE / ANALYSIS NOPRINT;
	COMPUTE rowline;
		 if rowline.sum=1 then
		 CALL DEFINE (_row_,'style',
		 'style=[borderbottomcolor=lightgrey' ) ;
	ENDCOMP;
	
    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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output.png" style="width: 331px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61470iC516F2E6D23057A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="output.png" alt="output.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 21:13:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-borders-in-PROC-REPORT-and-ODS-Excel/m-p/755486#M25125</guid>
      <dc:creator>Rydhm</dc:creator>
      <dc:date>2021-07-20T21:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: 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/755474#M25124</link>
      <description>&lt;P&gt;Thanks for referencing that question/solution. Unfortunately, that code marked as a solution does not appear to work, at least in my version of SAS (9.4&amp;nbsp;TS1M6). It throws errors, and when I fix some of the errors, it still trips up saying that the subroutine "style" is unknown. The next logical leap I can think of is to use call define style, which I've already tried.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 19:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-borders-in-PROC-REPORT-and-ODS-Excel/m-p/755474#M25124</guid>
      <dc:creator>bstarr</dc:creator>
      <dc:date>2021-07-20T19:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: 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/755458#M25123</link>
      <description>your problem seems similar to this one:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/BORDER-ods-Excel-Proc-report-break-after-column/td-p/453471" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/BORDER-ods-Excel-Proc-report-break-after-column/td-p/453471&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Try the above solution.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jul 2021 18:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Controlling-borders-in-PROC-REPORT-and-ODS-Excel/m-p/755458#M25123</guid>
      <dc:creator>Rydhm</dc:creator>
      <dc:date>2021-07-20T18:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: 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/755419#M25122</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I do not have the issue you report when I run a version of your program on my SAS OnDemand account. As you can see below, I am using a slightly modified version of your code to use SASHELP datasets to test the frame navigation file creation with ODS HTML:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1626800805959.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61432i04ED7BCB7988F66B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1626800805959.png" alt="Cynthia_sas_0-1626800805959.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After my code runs, I then need to download all 3 of the files to my local machine. To keep things easy for testing, I just downloaded all 3 files to my local C: drive Downloads folder, as shown below: I did not use your data or your file names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next I right-clicked on the FRAME.HTML file and clicked to open with Google Chrome.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1626800976209.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61433i139C28CEA1CE4DAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1626800976209.png" alt="Cynthia_sas_1-1626800976209.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All 3 files, BODY.HTML, TOC.HTML and FRAME.HTML must be in the same location folder when downloaded (and you can see them all in my Downloads folder). When Google Chrome opens, I see the normal FRAME displayed with the TOC.HTML file on the left panel and the BODY.HTML file displayed on the right side, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_2-1626801084741.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61435i93044862C0E488A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_2-1626801084741.png" alt="Cynthia_sas_2-1626801084741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are going to move all 3 files to a web server, then keep in mind that all the files will need to be stored in the same folder on the server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you continue to have issues with your frames and ODS HTML, you might need to open a track with SAS Technical Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 17:14:35 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/755419#M25122</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-20T17:14:35Z</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>Re: 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/754810#M25120</link>
      <description>Thanks very much . That resolved my problem. &lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;Inp</description>
      <pubDate>Sun, 18 Jul 2021 01:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754810#M25120</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2021-07-18T01:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754796#M25119</link>
      <description>&lt;P&gt;The loss of precision happens here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;X = 12345678901234567;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Anytime you cram such a number into a SAS variable, it happens.&lt;/P&gt;
&lt;P&gt;Store it as a string in the first place:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;X = "12345678901234567";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Jul 2021 18:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754796#M25119</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2021-07-17T18:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754791#M25118</link>
      <description>&lt;P&gt;Thanks very much for your help,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even I changed this X value to&amp;nbsp; y as charactor&amp;nbsp; , but it doesn't shows as charactor and truncate as numeric value. Is there any way to change this y to charactor where I can load to&amp;nbsp;&amp;nbsp;ODS TAGSETS.EXCELXP. Should I have to put any style where it can change as Charactor? . ? If any ,can you please tell how?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA TEMP1;&lt;BR /&gt;length y $16;&lt;/P&gt;
&lt;P&gt;X = 12345678901234567;&lt;/P&gt;
&lt;P&gt;y=put(x,z16.);&lt;/P&gt;
&lt;P&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 y;&lt;BR /&gt;DEFINE y / 'ACCOUNT' format=$16.;&lt;/P&gt;
&lt;P&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 17:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754791#M25118</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2021-07-17T17:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754784#M25117</link>
      <description>&lt;P&gt;You run into the limits of numeric precision caused by the finite amount of binary digits used to store decimal numbers. Because of this, SAS (and any software that uses 64 bits to store numbers in floating point format) can "only" handle up to 15 (and for some numbers, 16) decimal digits without loss of precision.&lt;/P&gt;
&lt;P&gt;For the field of statistics, this poses no problem.&lt;/P&gt;
&lt;P&gt;If that "number" is in fact some kind of code, store it as character.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 16:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TAGSETS-EXCELXP-Loading-17-digits-length-number-truncating/m-p/754784#M25117</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2021-07-17T16:55:51Z</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>Re: 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/754578#M25115</link>
      <description>&lt;P&gt;Please see my answer to this similar question, which has an example of streaming the file using data _null_ step.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Stored-Processes/webout-with-Proc-Export/td-p/393351" target="_blank"&gt;https://communities.sas.com/t5/SAS-Stored-Processes/webout-with-Proc-Export/td-p/393351&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:34:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754578#M25115</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2021-07-16T12:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754576#M25114</link>
      <description>&lt;P&gt;I am able to export using PROC EXPORT and save to SAS server. How can we download this file to local machine if we don't use ODS, any alternative ?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754576#M25114</guid>
      <dc:creator>PRAVIN_JAIN</dc:creator>
      <dc:date>2021-07-16T12:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754572#M25113</link>
      <description>&lt;P&gt;This is likely and ODS EXCEL issue, not an issue with the downloading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of SAS are you on? I'd review this thread:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/ODS-EXCEL-out-of-memory-error-with-dataset-containing-25-rows/td-p/617960" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/ODS-EXCEL-out-of-memory-error-with-dataset-containing-25-rows/td-p/617960&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS excel is great for fancy formatting, but if you're not doing anything fancy, you might be better off with PROC EXPORT or other approaches that don't have the same memory footprint.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-Stored-process-download-a-large-file-as-excel/m-p/754572#M25113</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2021-07-16T12:14:10Z</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>Re: Sending emails from SAS with embedded table from dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754370#M25111</link>
      <description>Thank you very much, Cynthia!&lt;BR /&gt;&lt;BR /&gt;That works!</description>
      <pubDate>Thu, 15 Jul 2021 15:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754370#M25111</guid>
      <dc:creator>MarieT</dc:creator>
      <dc:date>2021-07-15T15:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sending emails from SAS with embedded table from dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754365#M25110</link>
      <description>Hi:&lt;BR /&gt;  Please take a look at this user group paper: &lt;A href="https://support.sas.com/resources/papers/proceedings11/101-2011.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings11/101-2011.pdf&lt;/A&gt; -- in it you'll see that the author had to work with the team at his company to get things working. You need to work with someone AT YOUR COMPANY to get this working. There's not any way for someone on the Forum to know what your settings at your company need to be. And no one on the Forum has any permissions to alter the configuration files needed by SAS at your company.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 15 Jul 2021 15:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754365#M25110</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-15T15:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sending emails from SAS with embedded table from dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754167#M25109</link>
      <description>Thank you, Cynthia !&lt;BR /&gt;Without knowing the EMAILHOST I can’t send this kind of email, or there are some other options please ?</description>
      <pubDate>Wed, 14 Jul 2021 19:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754167#M25109</guid>
      <dc:creator>MarieT</dc:creator>
      <dc:date>2021-07-14T19:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sending emails from SAS with embedded table from dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754166#M25108</link>
      <description>Hi:&lt;BR /&gt;  That information needs to come from your email administrator and your SAS administrator needs to know the value for EMAILHOST so they can use it in the configuration files for SAS. &lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 14 Jul 2021 19:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754166#M25108</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-14T19:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sending emails from SAS with embedded table from dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754129#M25107</link>
      <description>Than you, Cynthia !&lt;BR /&gt;&lt;BR /&gt;Where can I found the email host? Is it in my log ?</description>
      <pubDate>Wed, 14 Jul 2021 16:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754129#M25107</guid>
      <dc:creator>MarieT</dc:creator>
      <dc:date>2021-07-14T16:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sending emails from SAS with embedded table from dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754124#M25106</link>
      <description>Hi:&lt;BR /&gt;  If the email host cannot be found, then that means you need to find out from your mail administrator what the correct host name is. You'll also need to check with your SAS Administrator to make sure that the email-related system options refer to the correct settings. If you need more help, your best resource is SAS Tech Support.&lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 14 Jul 2021 16:14:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754124#M25106</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-14T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754089#M25105</link>
      <description>&lt;P&gt;ODS EXCEL can only create XLSX files. The XLS format is completely different, and needs (at least in the case of SAS) MS-supplied, Windows-only modules to create/access them.&lt;/P&gt;
&lt;P&gt;Up to the introduction of ODS EXCEL, ODS TAGSETS.EXCELXP was the way to go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An application that has not been maintained for decades (XLSX was introduced in 2007) may not be dead yet, but it sure smells funny.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 14:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-native-XLS-files-with-ODS-Excel/m-p/754089#M25105</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2021-07-14T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754087#M25104</link>
      <description>Not besides PROC EXPORT unfortunately but I'm assuming you're using ODS EXCEL for some formatting/styling. But that also doesn't make a ton of sense if it's going into another application which implies a data feed...</description>
      <pubDate>Wed, 14 Jul 2021 14:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-native-XLS-files-with-ODS-Excel/m-p/754087#M25104</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-14T14:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754086#M25103</link>
      <description>Thanks Tom - I generally agree but was/am hoping there is something. Ideally our systems get upgraded but there doesn't seem to be an immediate interest in that either.</description>
      <pubDate>Wed, 14 Jul 2021 14:30:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-native-XLS-files-with-ODS-Excel/m-p/754086#M25103</guid>
      <dc:creator>aandrewn</dc:creator>
      <dc:date>2021-07-14T14:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: 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/754084#M25102</link>
      <description>&lt;P&gt;I don't think you can do this and I doubt that SAS will spend any time developing something to produce an old (and proprietary) format.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 14:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Generating-native-XLS-files-with-ODS-Excel/m-p/754084#M25102</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-07-14T14:27:10Z</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>Re: Sending emails from SAS with embedded table from dataset</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754026#M25100</link>
      <description>Hello,&lt;BR /&gt;When I run this code I have an ERROR : ERROR: Email host xx.xx.xx not found.&lt;BR /&gt;Could you help me please with this option ?&lt;BR /&gt;&lt;BR /&gt;Thank you !</description>
      <pubDate>Wed, 14 Jul 2021 10:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Sending-emails-from-SAS-with-embedded-table-from-dataset/m-p/754026#M25100</guid>
      <dc:creator>MarieT</dc:creator>
      <dc:date>2021-07-14T10:25:56Z</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>Re: When is ods path .... (write)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/751034#M25098</link>
      <description>Hi:&lt;BR /&gt;  And to add more info to &lt;LI-USER uid="11562" login="KurtBremser"&gt;&lt;/LI-USER&gt;'s response: You should NEVER attempt to define SASHELP.TMPLMST as WRITE or UPDATE in an ODS PATH statement, since that is the item store delivered with each SAS install depot. If you're lucky, you won't ruin the template store because your administrators made it read only. If you're unlucky, you can accidentally render SASHELP.TMPLMST unusable.&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 29 Jun 2021 18:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/751034#M25098</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-29T18:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: When is ods path .... (write)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/751019#M25097</link>
      <description>Thank you Kurt</description>
      <pubDate>Tue, 29 Jun 2021 17:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/751019#M25097</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-06-29T17:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: When is ods path .... (write)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/751004#M25096</link>
      <description>&lt;P&gt;You use WRITE when you want to make sure that the template store is re-initialized, e.g. when a lot of cruft has accumulated in it&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 16:13:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/751004#M25096</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2021-06-29T16:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: When is ods path .... (write)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750965#M25095</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;LI-USER uid="184742"&gt;&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I was not looking for a copy of the sas online documentation.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Interesting comment.&amp;nbsp; Not here to make friends?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-eDocBody"&gt;
&lt;DIV class="xis-refDictEntry"&gt;
&lt;DIV class="xis-syntax"&gt;
&lt;DIV class="xis-syntaxDescription"&gt;
&lt;DIV class="xis-requiredArgGroup"&gt;
&lt;DIV id="p1u4sp2aze2qrrn135fs497stouv" class="xis-argDescriptionPair"&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;DIV id="p1nzgk54qqvysbn14fgtxe9t15qx" class="xis-argDescriptionPair"&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;DIV id="p02vqpgh1f8nvdn1qyo1pdkuxyim" class="xis-argDescriptionPair"&gt;
&lt;H4 class="xis-argument"&gt;&lt;FONT&gt;WRITE&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;provides &lt;FONT&gt;Write&lt;/FONT&gt; access (&lt;FONT color="#FF0000"&gt;always creating a new &lt;A id="GTn1kos3pqes1sbtn1kadzn3km1x61" class="glossTerm" target="_blank"&gt;&lt;/A&gt;template store&lt;/FONT&gt;) as well as Read access.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 14:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750965#M25095</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2021-06-29T14:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: When is ods path .... (write)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750960#M25094</link>
      <description>&lt;P&gt;I was not looking for a copy of the sas online documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 14:14:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750960#M25094</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-06-29T14:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: When is ods path .... (write)?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750958#M25093</link>
      <description>&lt;P&gt;The ODS PATH statement is used to manage the template stores, for reading and saving templates.&lt;/P&gt;
&lt;P&gt;Template store can have one of three access modes: read, write and update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;READ: You can only read templates to a template store&lt;/P&gt;
&lt;P&gt;UPDATE: You can read or write templates to a template, if the template store does not exist a new one is created.&lt;/P&gt;
&lt;P&gt;WRITE:&amp;nbsp;You can read or write templates to a template, a new template store is always created&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 13:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/When-is-ods-path-write/m-p/750958#M25093</guid>
      <dc:creator>Athenkosi</dc:creator>
      <dc:date>2021-06-29T13:57:13Z</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>Re: Align Top in Proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749403#M25090</link>
      <description>&lt;P&gt;Hi: Sometimes to see the impact of verticalalign, you need to force the headers and rows to be tall, as shown in #1 below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1624321981618.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60581i1C78D4830690929E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1624321981618.png" alt="Cynthia_sas_0-1624321981618.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So then you can see that for TALL header cells and rowheader cells the default alignment in the vertical direction is TOP. But for data cells, the default vertical alignment is BOTTOM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; That can be changed with overrides as shown in #2. My code builds on the previous code, with tall column headers and tall rows to show the impact of the overrides.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the full code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=sashelp.class;
   title '1) default alignment is Top for tall header cells and bottom for tall data cells';
   class sex;
   classlevels sex/style=[height=.75in];
   var height;
   table sex,
         height='This is the Height' all='Total'
     /box={label='This is a long text string that will make the column headers tall' style={width=1.5in}};
  keylabel sum=' ' n=' ';
run;

proc tabulate data=sashelp.class;
   title '2) change alignment for header and data cells';
   class sex /style=[just=C];
   classlevels sex/style=[verticalalign=m just=c height=.75in];
   var height /style={verticalalign=M};
   table sex,
         sum*height='This is the Height' n*all*{style={verticalalign=m}}
     /box={label='This is a long text string that will make the column headers tall' style={width=1.5in}};
  keylabel sum=' ' n=' ' all='Total';
  keyword all / style={verticalalign=B};
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Jun 2021 00:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749403#M25090</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-22T00:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Align Top in Proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749397#M25089</link>
      <description>&lt;P&gt;First thing I see is that you would have to have some other variable column heading creating a very tall cell to begin with and there isn't anything in your code that does that. Proc Tabulate for such short text values as C1 through C4 and Total, which would be the visible column headings, isn't going to make any cells high enough for a vertical alignment to be visible or to have the upper left box that tall either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you need to show what is making those cells that tall in the first place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;proc tabulate data=sashelp.class;
   class sex;
   classlevels sex/style=[verticalalign=C];
   var height;
   table height,
         sex=' ' all='Total'
   ;
run;&lt;/PRE&gt;
&lt;P&gt;None of the column headings would have the 5 or 6 "row height" appearance you show. So there is something left out.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 23:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749397#M25089</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-21T23:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Align Top in Proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749394#M25088</link>
      <description>&lt;P&gt;I am sorry but I mostly get confused while asking questions and do no represent my question well. Here is my code with ODS statement and example of my output. I want to align C1,C2,C3 to the top as currently they are in the bottom of the cell. I do not know how to show data in this case but hope that output picture helps!. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods excel file= "&amp;amp;SAS_Folder.&amp;amp;ReportFileName." options (sheet_interval='table' sheet_name='Gross Loads' suppress_bylines='on' embedded_titles='ON' embedded_footnotes='ON');&lt;/P&gt;
&lt;P&gt;title j=l "Weekly Loads - Q1 2021" ;&lt;/P&gt;
&lt;P&gt;footnote j = l "Generated by the SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;TABULATE&lt;/STRONG&gt; DATA=WORK.FINAL_RESULT f=&lt;STRONG&gt;10.2&lt;/STRONG&gt; S=[foreground=black just = c vjust=c]&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&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; CLASS "Group of Deals"n;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLASS Week;&lt;/P&gt;
&lt;P&gt;&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; 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; 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;
&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;; &lt;STRONG&gt;QUIT&lt;/STRONG&gt;; title;footnote;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sasuser_sk_0-1624315619942.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60580iBB830E63A76C2251/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sasuser_sk_0-1624315619942.png" alt="sasuser_sk_0-1624315619942.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 22:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749394#M25088</guid>
      <dc:creator>sasuser_sk</dc:creator>
      <dc:date>2021-06-21T22:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Align Top in Proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749370#M25087</link>
      <description>&lt;P&gt;WHICH column? You don't show a VJUST anywhere so you should show that as well.&lt;/P&gt;
&lt;P&gt;Which is you active ODS style? and which ODS destination?&lt;/P&gt;
&lt;P&gt;We may need example data to test code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want VERTICALALIGN, not VJUST.&lt;/P&gt;
&lt;P&gt;Getting any&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 20:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Align-Top-in-Proc-tabulate/m-p/749370#M25087</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-21T20:18:01Z</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>Re: 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/748244#M25085</link>
      <description>&lt;P&gt;Awesome!! Thanks for pointing out the&amp;nbsp;ODS ESCAPECHAR.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 01:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unicode-Characters-being-ignored-in-report-output/m-p/748244#M25085</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2021-06-16T01:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748235#M25084</link>
      <description>&lt;P&gt;Are you sure the ODS Escapechar is set? To the ^ character?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 22:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Unicode-Characters-being-ignored-in-report-output/m-p/748235#M25084</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-15T22:49:43Z</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>Re: 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/748181#M25082</link>
      <description>PROC FREQ doesn't let you control that unfortunately. If you want to control your output you can switch to PROC TABULATE instead - but that also means you need to specify more options to get the same output. &lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jun 2021 17:15:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/748181#M25082</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-15T17:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748173#M25081</link>
      <description>&lt;P&gt;&lt;LI-USER uid="13879"&gt;&lt;/LI-USER&gt;&amp;nbsp;Thank you so much! I noticed that I missed two semicolons besides writing Comprehension twice. Last question: how can make percentages one digit instead of two using ods excel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 16:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/748173#M25081</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2021-06-15T16:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748132#M25080</link>
      <description>You have comprehension listed twice....&lt;BR /&gt;Run the macro with "options mprint symbolgen;"  before the code and then check your log. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/748132#M25080</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-15T14:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748123#M25079</link>
      <description>&lt;P&gt;I found this paper:&amp;nbsp;&lt;A href="https://support.sas.com/resources/papers/proceedings/proceedings/sugi26/p002-26.pdf" target="_blank" rel="noopener"&gt;SUGI 26: Changes &amp;amp; Enhancements for ODS by Example (through V8.2) (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This article:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Change-font-size-for-all-quot-PROC-ODSTEXT-quot-text/td-p/276839" target="_blank"&gt;Solved: Change font size for all "PROC ODSTEXT" text - SAS Support Communities&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:27:20 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/748123#M25079</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-06-15T14:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748116#M25078</link>
      <description>&lt;P&gt;Thanks, and sorry, I complain quietly about the inability of others to write proper questions, and then I fail to do so myself.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:37:55 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/748116#M25078</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-06-15T13:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748115#M25077</link>
      <description>&lt;P&gt;Forgive me, I was not clear, I am editing the question.&amp;nbsp; Thanks for your patience.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 13:27:00 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/748115#M25077</guid>
      <dc:creator>PhilC</dc:creator>
      <dc:date>2021-06-15T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748010#M25075</link>
      <description />
      <pubDate>Tue, 15 Jun 2021 01:48:28 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/748010#M25075</guid>
      <dc:creator>mftuchman</dc:creator>
      <dc:date>2021-06-15T01:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748006#M25074</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;LI-USER uid="13549"&gt;&lt;/LI-USER&gt;.&amp;nbsp; It's about time somebody showed up around here who actually knows what they're talking about...&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 01:17:18 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/748006#M25074</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-15T01:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: 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/748005#M25073</link>
      <description>Hi:&lt;BR /&gt;  Yes, &lt;LI-USER uid="37107" login="jimbarbour"&gt;&lt;/LI-USER&gt;'s choice b is the answer. I always explain it to my students this way when they ask if something is possible (like can I change the page number to the bottom of the page) -- The answer is "It depends on the destination" -- RTF and PDF -- yes; HTML -- No, ODS Excel, yes, but you have to use Microsoft specific field codes to do it.&lt;BR /&gt;&lt;BR /&gt;  The way I understand PDF is that PDF "wants" the background color to apply to the entire data cell. So foreground color for part of the string is OK. But background color doesn't work for inline formatting because PDF wants the whole cell to have the same background. It's different for RTF and Word because, well, Microsoft.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 15 Jun 2021 01:15:00 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/748005#M25073</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-15T01:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: 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/747989#M25072</link>
      <description>&lt;P&gt;Thank you so much for taking care of my question. This code is doing something weird. It is saving them in the excel file but the name of the file and content of the file doesn't match. For example file's name is comprehension but there are literacy results inside. You can find what I have done.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%macro intd (s);&lt;BR /&gt;ods excel file="C:\Projects\pl_by_cluster_&amp;amp;s..xlsx" options(sheet_interval='proc') style=meadow;&lt;/P&gt;
&lt;P&gt;data a501_&amp;amp;s._main_inc;&lt;BR /&gt;set a501_&amp;amp;s._main_inc;&lt;BR /&gt;&amp;amp;s._pl_n=int(&amp;amp;s._pl);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc sort data=a501_&amp;amp;s._main_inc;&lt;BR /&gt;by cluster_&amp;amp;s._n;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc freq data=a501_&amp;amp;s._main_inc;&lt;BR /&gt;table &amp;amp;s._pl_n;&lt;BR /&gt;by cluster_&amp;amp;s._n;&lt;BR /&gt;ods output OneWayFreqs=pl_by_cluster_&amp;amp;s.&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc sort data=a501_&amp;amp;s._main_inc;&lt;BR /&gt;by grade;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc freq data=a501_&amp;amp;s._main_inc;&lt;BR /&gt;table &amp;amp;s._pl_n;&lt;BR /&gt;by grade;&lt;BR /&gt;ods output OneWayFreqs=pl_by_grade_&amp;amp;s.&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;BR /&gt;%mend;&lt;BR /&gt;%intd (comprehension);&lt;BR /&gt;%intd (listening);&lt;BR /&gt;%intd (reading);&lt;BR /&gt;%intd (speaking);&lt;BR /&gt;%intd (writing);&lt;BR /&gt;%intd (oral);&lt;BR /&gt;%intd (literacy);&lt;BR /&gt;%intd (comprehension);&lt;BR /&gt;%intd (overall);&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 23:47:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/747989#M25072</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2021-06-14T23:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: 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/747984#M25071</link>
      <description>&lt;P&gt;You can't use format to apply a style attribute to the entire row because a format is evaluated in each cell, so in order to apply a style attribute to an entire row, each cell in that row would need to have the same value.&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;data test;
	input AFL $ BFL $ CFL $;
	cards;
Y Y Y
Y N Y
N N N
;

proc format;
	value $color
		'Y' = 'green'
		'N' = 'red';
run;

proc report data=test
	style(column)={backgroundcolor=$color.};
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 175px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60385i4FA230D13D0D5AE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;To apply a style attribute to an entire using the value of a specific variable, you need to use CALL DEFINE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*if using the already created format: $color */
proc report data=test;
	compute CFL;
		call define(_row_,'style',cats('style={backgroundcolor=',put(CFL,$color.),'}'));
	endcomp;
run;

/*using conditional statements */
proc report data=test;
	compute CFL;
		if CFL = 'Y' then
			call define(_row_,'style','style={backgroundcolor=green}');
		else if CFL = 'Y' then
			call define(_row_,'style','style={backgroundcolor=red}');
	endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 166px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60386iF70B22F2E7980F84/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The key is the _ROW_ automatic variable that indicates the entire current row.&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:58:04 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/747984#M25071</guid>
      <dc:creator>Athenkosi</dc:creator>
      <dc:date>2021-06-14T22:58:04Z</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>Re: 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/747966#M25069</link>
      <description>&lt;P&gt;I ran your code and got the same results.&amp;nbsp; I used two different means to open the pdf, so I don't think it's your pdf reader that is at issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The fact that the code works for one ODS destination but not another suggests that one of the following may be true&lt;/P&gt;
&lt;P&gt;a) there could be a bug in the SAS software&lt;/P&gt;
&lt;P&gt;b) this feature just isn't supported in pdf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't really know which it is in this case.&amp;nbsp;&amp;nbsp;&lt;LI-USER uid="13549"&gt;&lt;/LI-USER&gt;&amp;nbsp;seems to know a lot on this subject.&amp;nbsp; Perhaps if she has time she can weigh in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 21:09:15 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/747966#M25069</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-14T21:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: 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/747949#M25068</link>
      <description>&lt;P&gt;I would start with something like this:&lt;/P&gt;
&lt;PRE&gt;proc template;
source styles.htmlbw;
run;&lt;/PRE&gt;
&lt;P&gt;The LOG will show the definition of the Parent style.&lt;/P&gt;
&lt;P&gt;You may have to trace this back a few levels depending on exactly what you want to modify.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That may get you the names of things you want to modify. The syntax is not the same as CSS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you replace a "class" instead of modifying it you may "orphan" items set in the class that are used elsewhere. You may be looking to override specific class statements and the source will help given a specific parent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&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 20:08:21 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/747949#M25068</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-14T20:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: 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/747936#M25067</link>
      <description>&lt;P&gt;What are you trying to achieve so that I can help you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 19:39:08 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/747936#M25067</guid>
      <dc:creator>Athenkosi</dc:creator>
      <dc:date>2021-06-14T19:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: 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/747917#M25066</link>
      <description>&lt;P&gt;Quickest way is to wrap your code in ODS EXCEL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="/home/reeza/demo/myfiles.xlsx" options(sheet_interval='proc') style=meadow;

proc freq data=sashelp.class;
table sex*age;
run;

proc freq data=sashelp.cars;
table origin*cylinders;
run;

ods excel close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;LI-USER uid="22174"&gt;&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&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;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 19:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/747917#M25066</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-14T19:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: 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/747916#M25065</link>
      <description>Results are saved in multiple datasets.</description>
      <pubDate>Mon, 14 Jun 2021 18:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/747916#M25065</guid>
      <dc:creator>dustychair</dc:creator>
      <dc:date>2021-06-14T18:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: 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/747914#M25064</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Before I give you a solution I just want to make sure that I understand your problem. So your results sets are stored in multiple dataset or in one?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 18:53:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-data-sets-in-multiple-excel-sheet/m-p/747914#M25064</guid>
      <dc:creator>Athenkosi</dc:creator>
      <dc:date>2021-06-14T18:53:50Z</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>Re: 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/746797#M25060</link>
      <description>&lt;P&gt;Thank you Cynthia for the time and effort writing such a detailed answer.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 15:52:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-template-class-data-cellwidth-and-line-statements-PDF/m-p/746797#M25060</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2021-06-09T15:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: 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/746793#M25059</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The behavior that you note is how I would expect all of your posted code to work. Your example #1 works because the style override for the data cells (override in PROC REPORT statement for style(column)&amp;nbsp; option) will ONLY impact the data cells generated by PROC REPORT. The LINE statement will still use the style template settings because the style override on PROC REPORT only impacts the data cells. If you had done this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1623249458235.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60188i0858A157016DA020/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1623249458235.png" alt="Cynthia_sas_0-1623249458235.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or THIS&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_4-1623251953243.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60193i775A7BA3285ADBD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_4-1623251953243.png" alt="Cynthia_sas_4-1623251953243.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then your overrides would have had an impact on the LINE statement output. By default PROC REPORT will use the entire report width to write the LINE text. Note that I used colors above and not cellwidth. If you try to change CELLWIDTH in a PROC REPORT style override, using your #1 syntax you would have observed the same (undesireable) results as with the template in PDF:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_5-1623252385258.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60194i0353F6FF3759C8FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_5-1623252385258.png" alt="Cynthia_sas_5-1623252385258.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This illustrates my point that different destinations have different ways to render the instructions when the PROC REPORT output is bound to the default style template for the destination with the overrides applied. As you can see -- just using PROC REPORT overrides without a style template, PDF behaves differently from HTML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I find it very problematic to try to "overcontrol" the cellwidth in PDF. You should not need to worry about the cellwidth of LINE statements because PROC REPORT, by default, will make the LINE text span the entire table. Overcontrolling the LINE width doesn't work, as you can see using the simplest example. Adding a style template change into the mix only makes things more complicated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Your #2 did NOT work in a STYLE template with PDF for 2 reasons: 1) because the LINECONTENT in the style template inherits from the DATA element and 2) not every destination uses style specifications in the same way. So by switching to using a template, and NOT using style overrides in the REPORT syntax, your output was bound by the way inheritance works as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1623250734822.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60190i7CE8F9A74C82D10A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1623250734822.png" alt="Cynthia_sas_1-1623250734822.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, your XXTEST template inherited from PEARL style as the parent; PEARL style inherits from PRINTER style; PRINTER style inherits from DEFAULT; and DEFAULT inherits from the Base.Template.Style. But as you noted, the SAME template is used differently by different destinations: PDF did one thing with the template specification and HTML (and RTF) rendered differently:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_2-1623250897619.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60191iCE9E3BAD232CFCBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_2-1623250897619.png" alt="Cynthia_sas_2-1623250897619.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;HTML and RTF continue allow PROC REPORT to control the spanning of the LINE results, but PDF allowed the template to set the cellwidth and since LINECONTENT inherits from the DATA width that you provded in the new template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But with your #3 example, your style template change was to the HEADER element --but LINECONTENT does NOT inherit from the HEADER element, it inherits from the DATA element. So #3 example allowed the headers in PROC REPORT to change (which had the side effect of impacting the data cells) and also allowed PROC REPORT to use the default behavior of having the LINE text span the entire table. So, the LINE text was unaffected by the change to the HEADERs in the new template.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_3-1623251448752.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60192iD8EDFDBC1FB7AF9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_3-1623251448752.png" alt="Cynthia_sas_3-1623251448752.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The HTML and RTF output for example #3 was the same as the output shown in #2, so it was not included in the screen shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; My best practice is NOT to tamper with the width of the LINE in PROC REPORT, especially if my desired destination is PDF. I also don't try to "overcontrol" the cellwidths in PDF. PDF destination has some complex algorithms to use fontsize and cellpadding and cellspacing to "draw" the table in PDF format and I find that overcontrolling the cellwidths can sometimes have undesirable results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Note that in my examples I created different template names and different output names so that I could keep the templates and the output together. I find it easier to test multiple template changes by keeping the names of the templates and the names of the output similar. When I've finished testing, that's when I settle on the final template name and generate the production template code. However, most of time with PROC REPORT, I find it much easier to use style overrides within the PROC REPORT syntax instead of trying to use a STYLE template with PROC REPORT&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This paper &lt;A href="https://support.sas.com/resources/papers/proceedings10/033-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/033-2010.pdf&lt;/A&gt; explains a little more about how inheritance works. It's a bit old because it was written for SAS 9.2, when the template syntax changed for style templates, but much of the information is still good.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 15:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-template-class-data-cellwidth-and-line-statements-PDF/m-p/746793#M25059</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-09T15:32:52Z</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>Re: 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/745084#M25057</link>
      <description>&lt;P&gt;"Outside of the table" would be a row of text, akin to as if I opened an ods destination and ran ods text/proc odstext before running proc print. File print does work to some extent, but it produces a somewhat ugly monospace text in a frame.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 06:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Writing-ods-output-to-SAS-EG-results-only/m-p/745084#M25057</guid>
      <dc:creator>js5</dc:creator>
      <dc:date>2021-06-02T06:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using unicode in a picture format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-in-a-picture-format/m-p/745027#M25056</link>
      <description>&lt;P&gt;so, the accepted solution is: &lt;STRONG&gt;you can't use UNICODE in a picture format&lt;/STRONG&gt;, correct?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 19:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Using-unicode-in-a-picture-format/m-p/745027#M25056</guid>
      <dc:creator>gabonzo</dc:creator>
      <dc:date>2021-06-01T19:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744955#M25055</link>
      <description>&lt;P&gt;Where 'outside of the table'?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you want a simple FILE PRINT; instead of File ODS.&lt;/P&gt;
&lt;P&gt;However you would have to have a PUT statement for the variables when you want them in the output.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 14:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Writing-ods-output-to-SAS-EG-results-only/m-p/744955#M25055</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-01T14:56:23Z</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>Re: Color a table cell using PROC REPORT, using a numeric variable that is different from cell varia</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-a-table-cell-using-PROC-REPORT-using-a-numeric-variable/m-p/744631#M25054</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for posting data. Using your test data and &lt;LI-USER uid="13879" login="Reeza"&gt;&lt;/LI-USER&gt;'s suggestion:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1622322155108.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59884i3B9EB7167976C249/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1622322155108.png" alt="Cynthia_sas_0-1622322155108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;As you can see, I get the correct color coding in columns A and B as you intended with your original code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I explain in the screen shot that the COMPUTE block for A cannot test the value of C because of the PROC REPORT "left-to-right" rule and a timing issue. At the point in time when PROC REPORT is placing A on the report row, it has not yet placed C on the report row. So the COMPUTE block for A cannot test the value of C. However, you can test the value for C in the COMPUTE block for C. At that point in time, the cell for column A has been placed on the report row, so based on the result of the IF in the COMPUTE block a CALL DEFINE in the COMPUTE block for C can "touch" a variable that appears before C in the COLUMN statement. The only trick is that the variable name you want to change with the call define must be quoted, as I show in my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Just a few other comments. HEADLINE, HEADSKIP and WIDTH= are ignored by ODS destinations that would use your STYLE. These are LISTING only options and ignored by ODS, so I removed them from my code. I also changed the colors to lightgreen and lightred to make the numbers in the cells more readable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 21:06:59 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/744631#M25054</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-05-29T21:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Color a table cell using PROC REPORT, using a numeric variable that is different from cell varia</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-a-table-cell-using-PROC-REPORT-using-a-numeric-variable/m-p/744549#M25053</link>
      <description>&lt;P&gt;There's actually no need to change the column order.&amp;nbsp; The variable you put in the compute block is rather arbitrary to what is in the compute block, so the easiest way to do this is to always put the last variable in the COLUMNS statement in the compute statement.&amp;nbsp; This way all the variables are always initialized and you can do whatever style changes are needed (even if they are on a different column than the one in the compute statement and even if there are multiple changes).&amp;nbsp; I think &lt;LI-USER uid="13879"&gt;&lt;/LI-USER&gt; was touching on this in their post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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 c;
if b &amp;gt; 3 then call define('b',"style","style={background = red");
if c &amp;gt; 4 then call define('a',"style","style={background = green");
endcompute;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 May 2021 21:51:04 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/744549#M25053</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2021-05-28T21:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Color a table cell using PROC REPORT, using a numeric variable that is different from cell varia</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-a-table-cell-using-PROC-REPORT-using-a-numeric-variable/m-p/744538#M25052</link>
      <description>&lt;P&gt;Here's one way: change the column order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc report data=test nowindows headline headskip;
columns c a b  ;
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;
run;&lt;/PRE&gt;
&lt;P&gt;Why do this? Proc Report builds the report from left to right. So while construction the column for A, when the column statement is A B C, the value of C (to the Right of A) is not "available" yet.&lt;/P&gt;
&lt;P&gt;Same problem with the _cn_ approach, column 3 not available for A (_c1_)&lt;/P&gt;
&lt;P&gt;I&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 19:57:41 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/744538#M25052</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-28T19:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Color a table cell using PROC REPORT, using a numeric variable that is different from cell varia</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Color-a-table-cell-using-PROC-REPORT-using-a-numeric-variable/m-p/744534#M25051</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;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 c;
 if c &amp;gt; 4 then call define(a,"style","style={background = green");
 endcompute;

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 May 2021 19:50:04 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/744534#M25051</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-28T19:50:04Z</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>Re: 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/744518#M25048</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following steps are being done in version 3 of my program and macro for each input text file:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Scan the listing file records to:
&lt;UL&gt;
&lt;LI&gt;find '0C'x, which marks the 1st record of a new page (IMPORT TO in PROC DOCUMENT ignores new page control characters!) or the last record, and save the records of the beginning and end of page in WORK.PAGES.&lt;/LI&gt;
&lt;LI&gt;extract the 3rd (line-3) and 4th (line-4) records of the file, which contain the identification number and title of the listing.&lt;/LI&gt;
&lt;LI&gt;extract the records that begin with a specific string, in this case "sex:", into LINE6 and save in WORK.PAGES, along with the page number, too.&lt;/LI&gt;
&lt;LI&gt;save each record of the input file in WORK.LISTINGS.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Create a new DOCUMENT in WORK.IMPORT with a new folder labelled as "line-3: line-4".&lt;/LI&gt;
&lt;LI&gt;Copy the records for each page specified in WORK.PAGES from WORK.LISTINGS into individual temporary text files.&lt;/LI&gt;
&lt;LI&gt;Import each individual text files into a new folder in WORK.IMPORT using a separate PROC DOCUMENT step with IMPORT TO. If the page is the first with each LINE6 value, then, before starting PROC DOCUMENT, set ODS PDF BOOKMARKGEN, otherwise set ODS PDF NOBOOKMARKGEN.&lt;/LI&gt;
&lt;LI&gt;REPLAY each individual page in PROC DOCUMENT.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Repeat of these steps for each input text file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The resulting PDF file looks like this, where text_listings1.txt has 2 pages of "sex: M", but only 1 page is seen in the bookmarks. This means that I now have the correct number of bookmarks, but the top level containing the listing number and title are duplicated. The 3 listing text files shown below are attached to this post.&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="osi_listingsv3 20210528.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59862i8912CB8EC418610E/image-size/large?v=v2&amp;amp;px=999" role="button" title="osi_listingsv3 20210528.jpg" alt="osi_listingsv3 20210528.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using REPLAY to display the whole folder at the same time arranges the bookmarks as pages under the top level of the listing, but does not omit the duplicates. This is because the underlying data in the document has no information about whether a bookmark should be created or not, so a bookmark is created anyway.&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="osi_listingsv3 document 20210528.jpg" style="width: 502px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59869iEFD8298D4883C822/image-dimensions/502x235?v=v2" width="502" height="235" role="button" title="osi_listingsv3 document 20210528.jpg" alt="osi_listingsv3 document 20210528.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I suspect that the solution is probably post-processing of the full bookmark list to remove the duplicates using software other than SAS!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does that make any sense at all?..................Phil&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 19:10:16 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/744518#M25048</guid>
      <dc:creator>hollandnumerics</dc:creator>
      <dc:date>2021-05-28T19:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744499#M25047</link>
      <description>Brilliant. This worked. Thanks. Tom was on the right track.</description>
      <pubDate>Fri, 28 May 2021 18:20:02 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/744499#M25047</guid>
      <dc:creator>markgewhite</dc:creator>
      <dc:date>2021-05-28T18:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744498#M25046</link>
      <description>Thanks. I see where you're coming from, but I'm not creating the variable names. ODS is.</description>
      <pubDate>Fri, 28 May 2021 18:19:24 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/744498#M25046</guid>
      <dc:creator>markgewhite</dc:creator>
      <dc:date>2021-05-28T18:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744496#M25045</link>
      <description>No. The variables are definitely named 1, 2, etc. Thanks, though.</description>
      <pubDate>Fri, 28 May 2021 18:16:52 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/744496#M25045</guid>
      <dc:creator>markgewhite</dc:creator>
      <dc:date>2021-05-28T18:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744495#M25044</link>
      <description>&lt;P&gt;I'm afraid that didn't work for me. I tried&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc means data = GLM_DIFF;
	var 'GLM_DIFF'1;
run;&lt;/PRE&gt;&lt;P&gt;And other such variations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 18:15:43 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/744495#M25044</guid>
      <dc:creator>markgewhite</dc:creator>
      <dc:date>2021-05-28T18:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744452#M25043</link>
      <description>If you add the following option to your code or autoexec it should help avoid those issues:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;options validvarname=v7;&lt;BR /&gt;&lt;BR /&gt;Then it'll generate them as _1, _2 etc.   &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2021 15:53:03 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/744452#M25043</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-28T15:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744451#M25042</link>
      <description>&lt;P&gt;Check the setting of the VALIDVARNAME option.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have VALIDVARNAME=V7 then you cannot create a variable with a name like 1.&lt;/P&gt;
&lt;P&gt;If you have VALIDVARNAME=ANY then you can.&amp;nbsp; If you have created datasets with names like that then you need to use name literal to reference the variables.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data = GLM_DIFF; 
  var '1'n '2'n '3'n;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 May 2021 15:52:01 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/744451#M25042</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-28T15:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744445#M25041</link>
      <description>&lt;P&gt;It could also be that you are looking at the labels, being 1,2 &amp;amp; 3.&lt;/P&gt;
&lt;P&gt;The variable names may still contain an underscore as a prefix.&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 15:27:23 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/744445#M25041</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-05-28T15:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744444#M25040</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this can be solved by a SAS Name Literal.&lt;/P&gt;
&lt;P&gt;Enclose variable name or data set name in quotes immediately followed by little &lt;EM&gt;n&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like in:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sedanTypes; 
   set cars; 
   by 'Sedan Types'n; 								
   if 'first.Sedan Types'n then type=1;   
run;  	&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See documentation for&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Name Literals and Avoiding Errors When Using Name Literals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 15:27:50 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/744444#M25040</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-05-28T15:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744424#M25039</link>
      <description>&lt;P&gt;Can you post the steps you are actually running without the macro to generate them?&amp;nbsp; For example for two files where one of them has at least two pages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you figure out how to change the code the generate the PDF file you can then modify the macro to generate that code.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 14:35:42 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/744424#M25039</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-28T14:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744397#M25038</link>
      <description>&lt;P&gt;Version 2 of my macro copies the textfile into separate document folders and then uses REPLAY with WHERE to select each page. This gives me 2-level bookmarks, as I can now show the BY value from each page too, but I'm still seeing duplicate bookmarks with 1 bookmark for every page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In version 3 I'm going to try splitting up the input file into pages &lt;U&gt;&lt;STRONG&gt;before&lt;/STRONG&gt;&lt;/U&gt; using IMPORT in PROC DOCUMENT, and then I'm hoping to be able to switch BOOKMARKGEN on or off for each page.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:58:52 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/744397#M25038</guid>
      <dc:creator>hollandnumerics</dc:creator>
      <dc:date>2021-05-28T13:58:52Z</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>Re: 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/744178#M25036</link>
      <description>Yes it's possible.&lt;BR /&gt;See this as a starting point.&lt;BR /&gt;&lt;A href="https://gist.github.com/statgeek/26cf789d6da0ce941e447022fdccf0f4" target="_blank"&gt;https://gist.github.com/statgeek/26cf789d6da0ce941e447022fdccf0f4&lt;/A&gt;</description>
      <pubDate>Thu, 27 May 2021 14:56:13 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/744178#M25036</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-27T14:56:13Z</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>Re: 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/744051#M25034</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the issue is centred around IMPORT TO, because ODS PROCLABEL and SETLABEL both fail to update the bookmark text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would be really nice would be being able to update/remove the bookmarks individually for each page, but I think that may not be possible in this release!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll look forward to your thoughts............Phil&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 21:34:30 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/744051#M25034</guid>
      <dc:creator>hollandnumerics</dc:creator>
      <dc:date>2021-05-26T21:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: 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/744045#M25033</link>
      <description>&lt;P&gt;Well, if someone like&amp;nbsp;you doesn't know how to do it...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well, let me think about it and see if anything bubbles up to the surface if I examine the problem but deliberately don't think about it for a while.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 20:49:19 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/744045#M25033</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-05-26T20:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: 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/743923#M25032</link>
      <description>It does enable precise control, but you have to specify those 'controls'. I think OP is looking for an option that will scale their output to fit into the specified region which is entirely different than controlling where the output goes. It's about controlling the size of the tables into the region. PROC REPORT has more options for styling directly within the PROC and TABULATE is primarily controlled via templates, so I agree that PROC REPORT is a better solution. However, I don't think Absolute will accomplish what the OP is trying to achieve. They want to put 6 tables on a single page and specify a single option such as FIT TO PAGE that will scale it to the page, similar to ODS EXCEL. &lt;BR /&gt;&lt;BR /&gt;At least that's my understanding of the problem, I'll let the OP clarify what they're trying to accomplish. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2021 15:29:21 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/743923#M25032</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-26T15:29:21Z</dc:date>
    </item>
  </channel>
</rss>

