<?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: 'ods rtf startpage = now' does not work in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433686#M20309</link>
    <description>&lt;P&gt;ODS TEXT statements don't get processed until they encounter a run or quit so that's likely your issue - with your test, not the functionality of STARTPAGE. Try doing this with PROC PRINT instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let hello = Reeza;

ods rtf file = "hello.rtf" style=meadow startpage=no; *(tried =on too);
	ods escapechar = '^';
	options nodate nonumber;

	ods rtf text= "hello &amp;amp;hello.";
    proc print data=sashelp.class;
    run;

	ods rtf startpage= now;

	ods rtf text= "hello &amp;amp;hello.";
    proc print data=sashelp.air (obs=10);
    run;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Feb 2018 20:17:43 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-02-02T20:17:43Z</dc:date>
    <item>
      <title>'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433675#M20308</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to force page breaks but the ods rtf startpage= now statement doesn't seem to be working. This is a simplified version of my code:&lt;/P&gt;&lt;PRE&gt;ods rtf file = "hello.rtf" style= styles.hello startpage= yes; *(tried =on too);
	ods escapechar = '^';
	options nodate nonumber;

	ods rtf text= "hello &amp;amp;hello.";

	ods rtf startpage= now;

	ods rtf text= "hello &amp;amp;hello.";

ods rtf close;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Everything is on the same page in the output rtf.&lt;/P&gt;&lt;P&gt;Probably I'm doing something stupid but would appreciate if someone can point it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 19:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433675#M20308</guid>
      <dc:creator>sm4</dc:creator>
      <dc:date>2018-02-02T19:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433686#M20309</link>
      <description>&lt;P&gt;ODS TEXT statements don't get processed until they encounter a run or quit so that's likely your issue - with your test, not the functionality of STARTPAGE. Try doing this with PROC PRINT instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let hello = Reeza;

ods rtf file = "hello.rtf" style=meadow startpage=no; *(tried =on too);
	ods escapechar = '^';
	options nodate nonumber;

	ods rtf text= "hello &amp;amp;hello.";
    proc print data=sashelp.class;
    run;

	ods rtf startpage= now;

	ods rtf text= "hello &amp;amp;hello.";
    proc print data=sashelp.air (obs=10);
    run;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 20:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433686#M20309</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-02T20:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433719#M20311</link>
      <description>&lt;P&gt;You might want to investigate using Proc ODSTEXT instead of ODS RTF Text. The output doesn't depend quite so much on another procedure creating ODS output as ODS RTF TEXT seems to.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 23:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433719#M20311</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-02T23:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433722#M20312</link>
      <description>Thanks very much for your response!&lt;BR /&gt;I can't test this idea out till I have access to SAS again on Monday, but&lt;BR /&gt;wanted to clarify first - does this mean I can't force page breaks if I&lt;BR /&gt;only want to use text= statements? I see you didn't change the text=&lt;BR /&gt;statement itself, so it looks like there isn't a way to use it alone.&lt;BR /&gt;&lt;BR /&gt;Thanks again for your time!&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Feb 2018 23:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433722#M20312</guid>
      <dc:creator>sm4</dc:creator>
      <dc:date>2018-02-02T23:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433725#M20313</link>
      <description>&lt;P&gt;I would use a data set and proc print to push text or PROC ODSTEXT but when I last tested it, it has the same issues as ODS TEXT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 23:57:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433725#M20313</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-02T23:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433727#M20314</link>
      <description>I see. I guess another way is to add the right number of spaces you need to&lt;BR /&gt;force a page break.&lt;BR /&gt;Will test out on Monday and follow up here.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Feb 2018 00:00:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433727#M20314</guid>
      <dc:creator>sm4</dc:creator>
      <dc:date>2018-02-03T00:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433729#M20315</link>
      <description>&lt;P&gt;Or use/force in RTF tags is another option.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2018 00:06:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433729#M20315</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-03T00:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433733#M20316</link>
      <description>By tags do you mean control words? If so, I don't see any option for page&lt;BR /&gt;breaks. And actually I've never been able to get control words to work at&lt;BR /&gt;all.&lt;BR /&gt;(Sorry, still teaching myself all this)&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Sat, 03 Feb 2018 00:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/433733#M20316</guid>
      <dc:creator>sm4</dc:creator>
      <dc:date>2018-02-03T00:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/435493#M20352</link>
      <description>&lt;P&gt;This code works as expected, tried with a blank dataset. I guess I can use this as a workaround by trying to make the dataset invisible, if that's possible. Will keep fiddling and&amp;nbsp;update here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 23:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/435493#M20352</guid>
      <dc:creator>sm4</dc:creator>
      <dc:date>2018-02-08T23:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/435494#M20353</link>
      <description>&lt;P&gt;Will check this out and update here.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 23:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/435494#M20353</guid>
      <dc:creator>sm4</dc:creator>
      <dc:date>2018-02-08T23:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: 'ods rtf startpage = now' does not work</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/437270#M20397</link>
      <description>&lt;P&gt;Proc odstext does solve the page break issue for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it brings up text justification issues &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Will start a new thread for that, I guess.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 19:00:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-startpage-now-does-not-work/m-p/437270#M20397</guid>
      <dc:creator>sm4</dc:creator>
      <dc:date>2018-02-14T19:00:31Z</dc:date>
    </item>
  </channel>
</rss>

