<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PROC REPORT bug with ODS destinations in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/681455#M24408</link>
    <description>Yes, I would report this as a bug.  Apparently the LISTING destination is 'optimizing' it's output and deciding that break after rendering is not needed if all the columns are NOPRINT.</description>
    <pubDate>Thu, 03 Sep 2020 18:28:46 GMT</pubDate>
    <dc:creator>RichardDeVen</dc:creator>
    <dc:date>2020-09-03T18:28:46Z</dc:date>
    <item>
      <title>PROC REPORT bug with ODS destinations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/680591#M24385</link>
      <description>&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P&gt;With SAS 9.4M6 and EG 8.1 (or EG 7.15) PROC REPORT has a different behaviour for some ODS destinations.&lt;/P&gt;&lt;P&gt;The SAS code below will give output for theses ODS destinations: PDF, HTML, RTF, POWERPOINT, EXCEL but not for ODS LISTING and the SAS standard report output. Why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA ASSETS;
  INPUT CLIENT $5. +1 PROV $2. +1  RRSP  RRIF;
DATALINES;
A-506 QC 74500     0 
10977 ON 98200     0 
BA-90 QC   650 92450 
20123 ON     0 42700 
29856 ON 21540     0 
;
RUN;

TITLE "SUMMARY REPORT";
PROC REPORT  DATA=ASSETS  NOCENTER;
  COLUMNS PROV  RRSP RRIF;
  DEFINE PROV      / GROUP  "PROVINCE" NOPRINT;
  DEFINE RRSP      / ANALYSIS  SUM  NOPRINT;
  DEFINE RRIF      / ANALYSIS  SUM  NOPRINT;
  
  BREAK AFTER PROV / SUMMARIZE PAGE;
  COMPUTE AFTER PROV;
    LINE "PROVINCE: " PROV $2.;
	LINE "=============";
    LINE "   Registered Retirement Savings Plan          "      RRSP.SUM     NLNUM10.;
  	LINE "   Registered Retirement Income Funds          "      RRIF.SUM     NLNUM10.;
  ENDCOMP;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this is a bug... And you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alain "AVO339"&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 01:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/680591#M24385</guid>
      <dc:creator>AVO339</dc:creator>
      <dc:date>2020-09-01T01:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT bug with ODS destinations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/680819#M24388</link>
      <description>&lt;P&gt;It could be something about the NOPRINT option.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 20:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/680819#M24388</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2020-09-01T20:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT bug with ODS destinations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/681129#M24392</link>
      <description>&lt;P&gt;The point here is the fact that an output report is &lt;STRONG&gt;produced&lt;/STRONG&gt; for the following ODS destinations: RTF, Excel, PowerPoint, HTML, PDF but &lt;STRONG&gt;not&lt;/STRONG&gt; for ODS LISTING and SAS standard Report output. You can copy and paste the code to try.&lt;/P&gt;&lt;P&gt;This is why I don't believe that the NOPRINT option has something to do with this strange behaviour.&lt;/P&gt;&lt;P&gt;Maybe I have to submit this case to the technical support...&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 18:37:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/681129#M24392</guid>
      <dc:creator>AVO339</dc:creator>
      <dc:date>2020-09-02T18:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT bug with ODS destinations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/681455#M24408</link>
      <description>Yes, I would report this as a bug.  Apparently the LISTING destination is 'optimizing' it's output and deciding that break after rendering is not needed if all the columns are NOPRINT.</description>
      <pubDate>Thu, 03 Sep 2020 18:28:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/681455#M24408</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-09-03T18:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT bug with ODS destinations</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/681460#M24409</link>
      <description>&lt;P&gt;If you NEED the listing output to occur, you can 'hack' it with an additional variable, '00'x label and a custom format.&amp;nbsp; There will be some blank lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;options formdlim = '-';

DATA ASSETS;
  INPUT CLIENT $5. +1 PROV $2. +1  RRSP  RRIF;
  fix=1;
DATALINES;
A-506 QC 74500     0 
10977 ON 98200     0 
BA-90 QC   650 92450 
20123 ON     0 42700 
29856 ON 21540     0 
;
RUN;

ods html file='report.html';
ods listing;

dm 'clear listing';

proc format; 
  value fix low-high = ' ';


TITLE "SUMMARY REPORT";
PROC REPORT  DATA=ASSETS  NOCENTER
  style(summary)=[cellheight=.1in fontsize=1px]
;
  COLUMNS fix PROV  RRSP RRIF;

  define fix / group format=fix. style=[cellheight=.1in fontsize=1px];
  label fix = '00'x;

  DEFINE PROV      / GROUP  "PROVINCE" NOPRINT;
  DEFINE RRSP      / ANALYSIS  SUM  NOPRINT;
  DEFINE RRIF      / ANALYSIS  SUM  NOPRINT;
  
  BREAK AFTER PROV / SUMMARIZE PAGE;
  COMPUTE AFTER PROV;
    LINE "PROVINCE: " PROV $2.;
	  LINE "=============";
    LINE "   Registered Retirement Savings Plan          "      RRSP.SUM     NLNUM10.;
  	LINE "   Registered Retirement Income Funds          "      RRIF.SUM     NLNUM10.;
  ENDCOMP;
RUN;

ods _all_ close;

dm 'output' output;&lt;/PRE&gt;
&lt;P&gt;HTML&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardADeVenezia_0-1599158128037.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48982i37DF4AFB91EF55A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardADeVenezia_0-1599158128037.png" alt="RichardADeVenezia_0-1599158128037.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;LISTING&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardADeVenezia_1-1599158150780.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48983i20FE77D4352EBB1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardADeVenezia_1-1599158150780.png" alt="RichardADeVenezia_1-1599158150780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 18:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-bug-with-ODS-destinations/m-p/681460#M24409</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-09-03T18:36:24Z</dc:date>
    </item>
  </channel>
</rss>

