<?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 PROC DOCUMENT: replaying an LST file and preserving the page breaks. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-replaying-an-LST-file-and-preserving-the-page/m-p/667366#M24252</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a number of LST files which I would like to replay into an RTF document. This works well with one exception, the page breaks in the LST files are not being preserved in the RTF document. I find this strange since if I import the LST file into Word using Insert/Object/Text from file the page breaks are preserved. I am using the following code -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc document name=import(write);&lt;BR /&gt;import textfile="C:\ListingType1_Slope.lst" to ^;&lt;BR /&gt;list/ details; &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;options orientation=landscape ls=max;&lt;BR /&gt;ods rtf file='C:\replay_new.rtf';&lt;/P&gt;
&lt;P&gt;proc document name=import;&lt;BR /&gt;replay;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this correct behaviour? Is there anyway to preserve the page breaks?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any help much appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RIchard&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 07:12:03 GMT</pubDate>
    <dc:creator>RichardP</dc:creator>
    <dc:date>2020-07-07T07:12:03Z</dc:date>
    <item>
      <title>PROC DOCUMENT: replaying an LST file and preserving the page breaks.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-replaying-an-LST-file-and-preserving-the-page/m-p/667366#M24252</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a number of LST files which I would like to replay into an RTF document. This works well with one exception, the page breaks in the LST files are not being preserved in the RTF document. I find this strange since if I import the LST file into Word using Insert/Object/Text from file the page breaks are preserved. I am using the following code -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc document name=import(write);&lt;BR /&gt;import textfile="C:\ListingType1_Slope.lst" to ^;&lt;BR /&gt;list/ details; &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;options orientation=landscape ls=max;&lt;BR /&gt;ods rtf file='C:\replay_new.rtf';&lt;/P&gt;
&lt;P&gt;proc document name=import;&lt;BR /&gt;replay;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this correct behaviour? Is there anyway to preserve the page breaks?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any help much appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RIchard&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 07:12:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-replaying-an-LST-file-and-preserving-the-page/m-p/667366#M24252</guid>
      <dc:creator>RichardP</dc:creator>
      <dc:date>2020-07-07T07:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DOCUMENT: replaying an LST file and preserving the page breaks.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-replaying-an-LST-file-and-preserving-the-page/m-p/668380#M24253</link>
      <description>Just a quick addition to the issue above. If I replay to the listing destination the page feeds are also lost. So LST to ODS LISTING results in missing page feeds.</description>
      <pubDate>Fri, 10 Jul 2020 14:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-replaying-an-LST-file-and-preserving-the-page/m-p/668380#M24253</guid>
      <dc:creator>RichardP</dc:creator>
      <dc:date>2020-07-10T14:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DOCUMENT: replaying an LST file and preserving the page breaks.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-replaying-an-LST-file-and-preserving-the-page/m-p/690648#M24566</link>
      <description>Hey Richard, check out a potential solution I posted for a very similar question:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Importing-External-Files-LST-into-an-ODS-Document-preserving/m-p/690646#M24564" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/Importing-External-Files-LST-into-an-ODS-Document-preserving/m-p/690646#M24564&lt;/A&gt;</description>
      <pubDate>Sat, 10 Oct 2020 06:48:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-replaying-an-LST-file-and-preserving-the-page/m-p/690648#M24566</guid>
      <dc:creator>vellad</dc:creator>
      <dc:date>2020-10-10T06:48:39Z</dc:date>
    </item>
  </channel>
</rss>

