<?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: Output Proc Report to different text files in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4586#M1856</link>
    <description>True. I'm just so used to using PROC PRINTTO (spot the V6 programming traits)  .... habit I guess. I think ODS is a far neater statement though.</description>
    <pubDate>Thu, 06 Sep 2007 17:02:07 GMT</pubDate>
    <dc:creator>LawrenceHW</dc:creator>
    <dc:date>2007-09-06T17:02:07Z</dc:date>
    <item>
      <title>Output Proc Report to different text files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4583#M1853</link>
      <description>I can only get my proc reports to go the the SASLIST in a batch mode.  i would like to send each report to a different flat file.</description>
      <pubDate>Thu, 06 Sep 2007 16:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4583#M1853</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-09-06T16:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Output Proc Report to different text files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4584#M1854</link>
      <description>Try PROC PRINTTO with a fileref.</description>
      <pubDate>Thu, 06 Sep 2007 16:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4584#M1854</guid>
      <dc:creator>LawrenceHW</dc:creator>
      <dc:date>2007-09-06T16:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Output Proc Report to different text files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4585#M1855</link>
      <description>Hi:&lt;BR /&gt;
  OR, as an alternative to PROC PRINTTO, you could use:&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename myoutfile 'xxxxxxx.yyyyy.zzzzzz.txt'; (z/OS)  OR&lt;BR /&gt;
filename myoutfile '/usr/bin/usr001/zzzzz.txt'; (UNIX) OR&lt;BR /&gt;
filename myoutfile 'c:\temp\zzzzz.txt';  (Windows)&lt;BR /&gt;
 &lt;BR /&gt;
ODS LISTING FILE=myoutfile;&lt;BR /&gt;
...code...&lt;BR /&gt;
ODS LISTING;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 06 Sep 2007 16:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4585#M1855</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-09-06T16:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Output Proc Report to different text files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4586#M1856</link>
      <description>True. I'm just so used to using PROC PRINTTO (spot the V6 programming traits)  .... habit I guess. I think ODS is a far neater statement though.</description>
      <pubDate>Thu, 06 Sep 2007 17:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4586#M1856</guid>
      <dc:creator>LawrenceHW</dc:creator>
      <dc:date>2007-09-06T17:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Output Proc Report to different text files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4587#M1857</link>
      <description>i don't think these examples work for IBM Mainframe</description>
      <pubDate>Thu, 06 Sep 2007 17:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4587#M1857</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-09-06T17:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Output Proc Report to different text files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4588#M1858</link>
      <description>Well, in fact they do. You might need to change your JCL and add a DD statement if you were allocating in batch.&lt;BR /&gt;
[pre]&lt;BR /&gt;
//MYOUTFIL      DD    DSN=XXXXXX.YYYYYY.ZZZZZZ.TXT,DISP=(NEW,CATLG),&lt;BR /&gt;
//                    DCB=(.......),UNIT=SYSDA&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
then in your SAS code, you would have:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ODS LISTING FILE=MYOUTFIL;&lt;BR /&gt;
...sas code...&lt;BR /&gt;
ODS LISTING;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
OR&lt;BR /&gt;
[pre]&lt;BR /&gt;
PROC PRINTTO PRINT=MYOUTFIL; RUN:&lt;BR /&gt;
...sas code...&lt;BR /&gt;
PROC PRINTTO; RUN;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Where MYOUTFIL is the same as the DD name for the new sequential file that you would allocate. Then, you would have to use NDM or some other utility to FTP the output to a different platform. Or write the output to an AIX partition that the users could get to. Please take my JCL with a huge, gynormous grain of salt. My JCL days were back in the 80s. I know that there's a bunch in DCB like DSORG, and LRECL, but I just can't pull them out of my neurons right now.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 06 Sep 2007 17:38:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4588#M1858</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-09-06T17:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Output Proc Report to different text files</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4589#M1859</link>
      <description>the proc printto worked but the ODS didn't</description>
      <pubDate>Thu, 06 Sep 2007 18:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Output-Proc-Report-to-different-text-files/m-p/4589#M1859</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-09-06T18:44:21Z</dc:date>
    </item>
  </channel>
</rss>

