<?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: How to save SAS log in text as record? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263205#M310205</link>
    <description>&lt;P&gt;Note that PROC PRINTTO will move your log to the file you select.&amp;nbsp; You might want something slightly different ... keeping the log where it is, but sending a copy of it to a file that you choose.&amp;nbsp; You can do that with a different tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ALTLOG must be specified at SAS invocation, not in the middle of a program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n02cl0iq0k1fmxn11p83yirplodk.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n02cl0iq0k1fmxn11p83yirplodk.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will send a copy of the log to the destination that you choose, while leaving the original log in place.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2016 14:29:28 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2016-04-12T14:29:28Z</dc:date>
    <item>
      <title>How to save SAS log in text as record?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263189#M310202</link>
      <description>&lt;P&gt;Good morning, all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to save the SAS log in text file as record for furture review, how could I do it? Should I put the command statement at the begining of all the SAS code or at the end?&amp;nbsp; Please help, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I would like to save the SAS log into "C:\Documment\SAS file\SAS log.txt"&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 13:48:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263189#M310202</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2016-04-12T13:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to save SAS log in text as record?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263194#M310203</link>
      <description>&lt;P&gt;How do you use SAS?&lt;/P&gt;
&lt;P&gt;If you run SAS in batch mode, a log is created by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take a look at the LOG option, and PROC PRINTTO.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:06:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263194#M310203</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-12T14:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to save SAS log in text as record?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263196#M310204</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the point you want to send the log to a file run:&lt;/P&gt;
&lt;PRE&gt;proc printto log= "C:\Documment\SAS file\SAS log.txt";
run;&lt;/PRE&gt;
&lt;P&gt;And when you want to end outputting to file:&lt;/P&gt;
&lt;PRE&gt;proc printto;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263196#M310204</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-12T14:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to save SAS log in text as record?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263205#M310205</link>
      <description>&lt;P&gt;Note that PROC PRINTTO will move your log to the file you select.&amp;nbsp; You might want something slightly different ... keeping the log where it is, but sending a copy of it to a file that you choose.&amp;nbsp; You can do that with a different tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ALTLOG must be specified at SAS invocation, not in the middle of a program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n02cl0iq0k1fmxn11p83yirplodk.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n02cl0iq0k1fmxn11p83yirplodk.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will send a copy of the log to the destination that you choose, while leaving the original log in place.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263205#M310205</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-04-12T14:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to save SAS log in text as record?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263399#M310206</link>
      <description>&lt;P&gt;Do you need the log for auditing reasons?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 05:54:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-SAS-log-in-text-as-record/m-p/263399#M310206</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-04-13T05:54:27Z</dc:date>
    </item>
  </channel>
</rss>

