<?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: split a log file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147012#M38937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to do this as part of your batch program?&lt;/P&gt;&lt;P&gt;That can be done with PROC PRINTO;&lt;/P&gt;&lt;P&gt;filename file1 "c:\path\file1.log";&lt;/P&gt;&lt;P&gt;filename file2 "c:\path\file2.log";&lt;/P&gt;&lt;P&gt;&amp;lt;as many as you think you need&amp;gt;&lt;/P&gt;&lt;P&gt;add statements such as this to output data to separate files at strategic points in the program.&lt;/P&gt;&lt;P&gt;Proc Printo log=file1;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc prinnto; run; will return to default log behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also look at what you have that is generating so much output such as options like MPRINT, MLOGIC, SYMBOLGEN,&amp;nbsp; the value for the ERRORS option and statements such as PUT and %PUT that may be writing to the log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 22:34:01 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-12-11T22:34:01Z</dc:date>
    <item>
      <title>split a log file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147011#M38936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Hello&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;How can I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;split&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a log file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;smaller pieces, &lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;start&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;bat&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;program&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;log file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is too large&lt;/SPAN&gt; over&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;1GB.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Thank you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 21:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147011#M38936</guid>
      <dc:creator>makset</dc:creator>
      <dc:date>2014-12-11T21:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: split a log file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147012#M38937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to do this as part of your batch program?&lt;/P&gt;&lt;P&gt;That can be done with PROC PRINTO;&lt;/P&gt;&lt;P&gt;filename file1 "c:\path\file1.log";&lt;/P&gt;&lt;P&gt;filename file2 "c:\path\file2.log";&lt;/P&gt;&lt;P&gt;&amp;lt;as many as you think you need&amp;gt;&lt;/P&gt;&lt;P&gt;add statements such as this to output data to separate files at strategic points in the program.&lt;/P&gt;&lt;P&gt;Proc Printo log=file1;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc prinnto; run; will return to default log behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also look at what you have that is generating so much output such as options like MPRINT, MLOGIC, SYMBOLGEN,&amp;nbsp; the value for the ERRORS option and statements such as PUT and %PUT that may be writing to the log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 22:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147012#M38937</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-12-11T22:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: split a log file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147013#M38938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean split the LOG file while you are running the &lt;SPAN class="hps" style="line-height: 1.5em; font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;bat&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="line-height: 1.5em; font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;program. Check its parameter ,special for LOG parameter. But I didn't recall if there is such a function.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 06:40:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147013#M38938</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-12-14T06:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: split a log file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147014#M38939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not generate that much logging in the SAS-log. &lt;/P&gt;&lt;P&gt;- Needing auditing compliance with SIEM there are better ways. &lt;BR /&gt;- Wanting a correct error/warning handling etc. design and do your coding/programming accordingly&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2014 08:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/split-a-log-file/m-p/147014#M38939</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-12-14T08:48:38Z</dc:date>
    </item>
  </channel>
</rss>

