<?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 ods listing file in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-listing-file/m-p/2648#M864</link>
    <description>In EG I have several reports printed to a txt file.&lt;BR /&gt;
In SAS Base I use the ODS LISTING FILE= "...." statement. And the DATA _NULL_; FILE PRINT; statement. That works fine.&lt;BR /&gt;
But in EG when I use more then one Code Block, only the first Code Block puts its data into the txt file.&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to put the content of more then one Code Block into the same txt file?</description>
    <pubDate>Wed, 28 Mar 2007 09:02:30 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-03-28T09:02:30Z</dc:date>
    <item>
      <title>ods listing file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-listing-file/m-p/2648#M864</link>
      <description>In EG I have several reports printed to a txt file.&lt;BR /&gt;
In SAS Base I use the ODS LISTING FILE= "...." statement. And the DATA _NULL_; FILE PRINT; statement. That works fine.&lt;BR /&gt;
But in EG when I use more then one Code Block, only the first Code Block puts its data into the txt file.&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to put the content of more then one Code Block into the same txt file?</description>
      <pubDate>Wed, 28 Mar 2007 09:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-listing-file/m-p/2648#M864</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-28T09:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: ods listing file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-listing-file/m-p/2649#M865</link>
      <description>Try using the FILENAME statement with the MOD option to append an existing output file.&lt;BR /&gt;
&lt;BR /&gt;
For example, in your first code node you might have something like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename mytext "c:\temp\out.txt";&lt;BR /&gt;
ods listing file=mytext;&lt;BR /&gt;
proc print data=sashelp.class;&lt;BR /&gt;
run;&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Your next code node could have this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename mytext "c:\temp\out.txt" mod;&lt;BR /&gt;
ods listing file=mytext;&lt;BR /&gt;
proc print data=sashelp.air;&lt;BR /&gt;
run;&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
As a result, you should find that "out.txt" contains the results from both programs.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Wed, 28 Mar 2007 20:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-listing-file/m-p/2649#M865</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2007-03-28T20:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: ods listing file</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-listing-file/m-p/2650#M866</link>
      <description>Hi Cris,&lt;BR /&gt;
&lt;BR /&gt;
That's perfect!&lt;BR /&gt;
Thanks alot.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thierry</description>
      <pubDate>Thu, 29 Mar 2007 06:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ods-listing-file/m-p/2650#M866</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-03-29T06:05:43Z</dc:date>
    </item>
  </channel>
</rss>

