<?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 - COMPUTE AFTER _PAGE_ Not Printing in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643483#M24010</link>
    <description>&lt;P&gt;Please try to use the below like 'compute after _page_'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;             compute after _page_ / style = {just=left font_weight=bold borderbottomstyle=hidden};
                 line " ";
                 line @1 pagec $200.;
             endcomp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 28 Apr 2020 07:58:56 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2020-04-28T07:58:56Z</dc:date>
    <item>
      <title>PROC REPORT - COMPUTE AFTER _PAGE_ Not Printing</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643480#M24009</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I have two very simple PROC REPORT procedures (two different programs) within some ODS RTF lines, one program creates a 3 page RTF file and the other creates a single page RTF file. PROC REPORT is as below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;        proc report data=input nowd headline headskip center split='#';
            column page pagec order1 order2 text1 stats1;

             define page     / order order=internal noprint;
             define pagec    / order order=internal noprint;

             define order1   / order order=internal noprint;
             define order2   / order order=internal noprint;

             define text1    / order style(header) = {just=left cellwidth=13.0cm}
                                     style(column) = {just=left}
                                     " ";

             define stats1  / display style(header) = {just=center cellwidth=2.0cm asis=on}
                                       style(column) = {just=center vjust=bottom}
                                       "Events";

             compute before page;
                 line " ";
             endcomp;
             compute after order1;
                 line " ";
             endcomp;

             compute after _page_ / style = {just=left font_weight=bold borderbottomstyle=hidden};
                 line " ";
                 line @1 pagec $200.;
             endcomp;

             break after page / page;
        run;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;The variable PAGEC is just some text which needs to be printed at the bottom of all pages within the RTF files, but oddly the value of PAGEC is not printing and instead a blank line is being printed. Any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Craig&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643480#M24009</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2020-04-28T08:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT - COMPUTE AFTER _PAGE_ Not Printing</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643483#M24010</link>
      <description>&lt;P&gt;Please try to use the below like 'compute after _page_'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;             compute after _page_ / style = {just=left font_weight=bold borderbottomstyle=hidden};
                 line " ";
                 line @1 pagec $200.;
             endcomp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Apr 2020 07:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643483#M24010</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2020-04-28T07:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT - COMPUTE AFTER _PAGE_ Not Printing</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643487#M24011</link>
      <description>Hi Jagadishkatam,&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestion, that is a typo in the above code (I cannot edit the post), the source code is actually _PAGE_. I was doing testing and both PAGE and _PAGE_ just prints blank lines.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Craig</description>
      <pubDate>Tue, 28 Apr 2020 08:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643487#M24011</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2020-04-28T08:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT - COMPUTE AFTER _PAGE_ Not Printing</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643617#M24012</link>
      <description>&lt;P&gt;Data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to see results or test code without data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the &amp;lt;&amp;gt; icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 14:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-REPORT-COMPUTE-AFTER-PAGE-Not-Printing/m-p/643617#M24012</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-04-28T14:20:40Z</dc:date>
    </item>
  </channel>
</rss>

