<?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: Compute before on first page only (Proc Report) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/802708#M316029</link>
    <description>&lt;P&gt;You might try a style setting such as this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc report data=sashelp.class
   style(report)=[pretext='Something to display']
;
   columns sex age name;
   define sex /group page;
   define age/group;
   define name/display;
run;
&lt;/PRE&gt;
&lt;P&gt;Pretext is text to display something before, in this case the table of the report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you may need to provide some example data and the full code for your report. There can be some interesting interactions between elements in proc report and a solution that works with one data set may require significant differences with another.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 21:16:17 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-03-17T21:16:17Z</dc:date>
    <item>
      <title>Compute before on first page only (Proc Report)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/802671#M316007</link>
      <description>&lt;P&gt;Does anyone know how to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add a line above the report, but below the titles, in Proc Report?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to add an italicized line that says, "&lt;EM&gt;All subjects".&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use the&lt;/P&gt;
&lt;P&gt;compute before _page_;&lt;/P&gt;
&lt;P&gt;@1&amp;nbsp; &amp;nbsp;"All subjects";&lt;/P&gt;
&lt;P&gt;endcomp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;it shows at the top of every page.&amp;nbsp; I need it to show only at the top of the first page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 17:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/802671#M316007</guid>
      <dc:creator>Sarah-R</dc:creator>
      <dc:date>2022-03-17T17:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Compute before on first page only (Proc Report)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/802699#M316022</link>
      <description>&lt;P&gt;Does anyone know how to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add a line above the report, but below the titles, in Proc Report?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to add an italicized line that says, "&lt;EM&gt;All subjects".&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I use the&lt;/P&gt;
&lt;P&gt;compute before _page_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; line @1&amp;nbsp; &amp;nbsp;"All subjects";&lt;/P&gt;
&lt;P&gt;endcomp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;it shows at the top of every page.&amp;nbsp; I need it to show only at the top of the first page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 20:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/802699#M316022</guid>
      <dc:creator>Sarah-R</dc:creator>
      <dc:date>2022-03-17T20:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compute before on first page only (Proc Report)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/802708#M316029</link>
      <description>&lt;P&gt;You might try a style setting such as this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc report data=sashelp.class
   style(report)=[pretext='Something to display']
;
   columns sex age name;
   define sex /group page;
   define age/group;
   define name/display;
run;
&lt;/PRE&gt;
&lt;P&gt;Pretext is text to display something before, in this case the table of the report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise you may need to provide some example data and the full code for your report. There can be some interesting interactions between elements in proc report and a solution that works with one data set may require significant differences with another.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 21:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/802708#M316029</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-17T21:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compute before on first page only (Proc Report)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/808716#M318893</link>
      <description>&lt;P&gt;Use the following compute before block, with the variable-that-contains-top-of-page-text to be blank for the pages after the first page:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;compute before _page_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; line @1&amp;nbsp; &amp;nbsp;variable-that-contains-top-of-page-text;&lt;/P&gt;
&lt;P&gt;endcomp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 00:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-before-on-first-page-only-Proc-Report/m-p/808716#M318893</guid>
      <dc:creator>Sarah-R</dc:creator>
      <dc:date>2022-04-20T00:35:16Z</dc:date>
    </item>
  </channel>
</rss>

