<?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 the log file automatically ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43907#M9004</link>
    <description>Hi&lt;BR /&gt;
Like some other SAS clients (i.e. SAS EG) SAS DI uses the object spawner to start a SAS session on the workspace server.&lt;BR /&gt;
&lt;BR /&gt;
There are several ways how to save your log - and it depends a bit in what environment you're working and what rights you have.&lt;BR /&gt;
&lt;A href="http://support.sas.com/onlinedoc/913/getDoc/en/hostwin.hlp/win-sysop-altlog.htm" target="_blank"&gt;http://support.sas.com/onlinedoc/913/getDoc/en/hostwin.hlp/win-sysop-altlog.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Besides of proc printto there would also be the option ALTLOG (but you need access to the .cfg file).&lt;BR /&gt;
&lt;BR /&gt;
As this is processing jobs in DI I assume it is about unit testing: I would use the printto options - or just "manually" save the log from within DI.&lt;BR /&gt;
&lt;BR /&gt;
Another way would be to process the DI generated SAS code in batch - and all the logs are created as permanent files (you could even define where to save this log files).&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
    <pubDate>Fri, 05 Sep 2008 12:28:17 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2008-09-05T12:28:17Z</dc:date>
    <item>
      <title>save the log file automatically ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43904#M9001</link>
      <description>how can i save the log file automatically, when i am executing jobs on sas data integration studio?&lt;BR /&gt;
&lt;BR /&gt;
means, whenever i execute a job, the log of that job should be save automatically at particular place on my computer as a .log file.</description>
      <pubDate>Thu, 04 Sep 2008 12:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43904#M9001</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2008-09-04T12:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: save the log file automatically ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43905#M9002</link>
      <description>Investigate the use of SAS PROC PRINTTO with the LOG= option, mentioned in the DOC (link below).&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/onlinedoc/etls/usage34.pdf" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/etls/usage34.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Another DOC reference found at SAS support website:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/59544/HTML/default/win-proc-printto.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/59544/HTML/default/win-proc-printto.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
SAS support website address:&lt;BR /&gt;
&lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;</description>
      <pubDate>Thu, 04 Sep 2008 14:24:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43905#M9002</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-04T14:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: save the log file automatically ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43906#M9003</link>
      <description>Hi:&lt;BR /&gt;
  In addition to Scott's suggestions, you should also check the documentation for DI Studio. Since your jobs in DI Studio run on the Workspace Server in the BI Platform, you should investigate the DI Studio documentation for capturing job output and logs.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 04 Sep 2008 15:14:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43906#M9003</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-09-04T15:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: save the log file automatically ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43907#M9004</link>
      <description>Hi&lt;BR /&gt;
Like some other SAS clients (i.e. SAS EG) SAS DI uses the object spawner to start a SAS session on the workspace server.&lt;BR /&gt;
&lt;BR /&gt;
There are several ways how to save your log - and it depends a bit in what environment you're working and what rights you have.&lt;BR /&gt;
&lt;A href="http://support.sas.com/onlinedoc/913/getDoc/en/hostwin.hlp/win-sysop-altlog.htm" target="_blank"&gt;http://support.sas.com/onlinedoc/913/getDoc/en/hostwin.hlp/win-sysop-altlog.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Besides of proc printto there would also be the option ALTLOG (but you need access to the .cfg file).&lt;BR /&gt;
&lt;BR /&gt;
As this is processing jobs in DI I assume it is about unit testing: I would use the printto options - or just "manually" save the log from within DI.&lt;BR /&gt;
&lt;BR /&gt;
Another way would be to process the DI generated SAS code in batch - and all the logs are created as permanent files (you could even define where to save this log files).&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Fri, 05 Sep 2008 12:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43907#M9004</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-09-05T12:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: save the log file automatically ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43908#M9005</link>
      <description>plz show me with some example, how i can use ALTLOG sas option in sas9.1.3&lt;BR /&gt;
&lt;BR /&gt;
when i am executing this code, i am getting error.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;-altlog C:\pavan\qwe.log&lt;BR /&gt;
&lt;BR /&gt;
data a;&lt;BR /&gt;
a=1;&lt;BR /&gt;
run;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
actually syntax is like this: -ALTLOG destination</description>
      <pubDate>Fri, 05 Sep 2008 14:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43908#M9005</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2008-09-05T14:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: save the log file automatically ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43909#M9006</link>
      <description>The SAS invocation parameter -ALTLOG must either be defined in your CONFIG file settings or passed as an invocation (override) string.  Recommend you search the SAS support website at &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt; for related DOC and topic-oriented technical papers.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 05 Sep 2008 14:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/save-the-log-file-automatically/m-p/43909#M9006</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-05T14:24:45Z</dc:date>
    </item>
  </channel>
</rss>

