<?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: Windows Batch Job Log File Routing? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Windows-Batch-Job-Log-File-Routing/m-p/118074#M259494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't run batch jobs in windows, but if you just start SAS from the directory you want the logs to appear it should do it.&amp;nbsp; So how about making the job two statements where he first is cd command.&lt;/P&gt;&lt;P&gt;Otherwise look at the -log and -print command line options for SAS to direct it where to write the LOG and LST files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jun 2013 00:33:58 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-06-26T00:33:58Z</dc:date>
    <item>
      <title>Windows Batch Job Log File Routing?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Windows-Batch-Job-Log-File-Routing/m-p/118073#M259493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the following string to execute a batch job in windows: "c:\program files\sashome\sasfoundation\9.3\sas.exe" f:\businessresults\qsrptsys\programs\sas_pgms\GradeFamilyBlanks.sas -xwait off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also like to route the log file to a specific location, e.g. c:\SASBatchLogs\ but I don't know how to make that happen.&amp;nbsp; Could someone please provide the "string" that I need to add to the above to make the routing happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 14:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Windows-Batch-Job-Log-File-Routing/m-p/118073#M259493</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2013-06-25T14:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Batch Job Log File Routing?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Windows-Batch-Job-Log-File-Routing/m-p/118074#M259494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't run batch jobs in windows, but if you just start SAS from the directory you want the logs to appear it should do it.&amp;nbsp; So how about making the job two statements where he first is cd command.&lt;/P&gt;&lt;P&gt;Otherwise look at the -log and -print command line options for SAS to direct it where to write the LOG and LST files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 00:33:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Windows-Batch-Job-Log-File-Routing/m-p/118074#M259494</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-06-26T00:33:58Z</dc:date>
    </item>
  </channel>
</rss>

