<?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: save sas log externally and see it in log window in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/582824#M165846</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also do it just by "re-reading" created log:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc printto log="C:/SAS_WORK/log_test.log";
run;


data dsn;
input patid implants;
datalines;
1 3
1 1
1 2
;
run;

proc printto log=log; run;

data _null_;
  infile "C:/SAS_WORK/log_test.log";
  input;
  putlog "*&amp;gt;" _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2019 14:33:03 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2019-08-21T14:33:03Z</dc:date>
    <item>
      <title>save sas log externally and see it in log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/582737#M165809</link>
      <description>&lt;P&gt;I am using following code to save log&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc printto log="C:/log_test.lst";
run;


data dsn;
input patid implants;
datalines;
1 3
1 1
1 2

;run;

proc printto log=log;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Though I get a log in c drive but log now get desappeared from log window. Is there any way I can see the log in log window also and get one extracted as well.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 12:00:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/582737#M165809</guid>
      <dc:creator>Srigyan</dc:creator>
      <dc:date>2019-08-21T12:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: save sas log externally and see it in log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/582741#M165811</link>
      <description>&lt;P&gt;I think you can do this using the&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#n02cl0iq0k1fmxn11p83yirplodk.htm" target="_self"&gt;ALTLOG System Option.&lt;/A&gt;&amp;nbsp;You have to alter the configuration file to do so though.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 12:03:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/582741#M165811</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-08-21T12:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: save sas log externally and see it in log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/582824#M165846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also do it just by "re-reading" created log:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc printto log="C:/SAS_WORK/log_test.log";
run;


data dsn;
input patid implants;
datalines;
1 3
1 1
1 2
;
run;

proc printto log=log; run;

data _null_;
  infile "C:/SAS_WORK/log_test.log";
  input;
  putlog "*&amp;gt;" _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 14:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/582824#M165846</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2019-08-21T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: save sas log externally and see it in log window</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/585131#M166814</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; Is there any way I can see the log in log window also and get one extracted as well.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sadly SAS has not implemented this very useful feature.&lt;/P&gt;
&lt;P&gt;So you have to resort to workarounds such as what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35763"&gt;@yabwon&lt;/a&gt;&amp;nbsp;describes.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 04:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-sas-log-externally-and-see-it-in-log-window/m-p/585131#M166814</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-08-30T04:19:41Z</dc:date>
    </item>
  </channel>
</rss>

