<?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: Automating a SAS code from a server side in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546078#M8154</link>
    <description>&lt;P&gt;Thanks for your reply. I need to automate it for last sunday of every month. This automation should be done from the scheduler or I can add an extra command to the script?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2019 11:13:38 GMT</pubDate>
    <dc:creator>ssaha</dc:creator>
    <dc:date>2019-03-26T11:13:38Z</dc:date>
    <item>
      <title>Automating a SAS code from a server side</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546062#M8148</link>
      <description>&lt;P&gt;I have a sas code which I need to schedule that has been exported from SAS EG project which consist of 8 programs.This sas code will generate a scatter plot which I need to export into a PDF file. So we are planning on scheduling this SAS code from a server side. Can I write a shell script so that we can schedule from server side?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 09:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546062#M8148</guid>
      <dc:creator>ssaha</dc:creator>
      <dc:date>2019-03-26T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automating a SAS code from a server side</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546063#M8149</link>
      <description>&lt;P&gt;Ideally, you make use of the sasbatch.sh script located in&lt;/P&gt;
&lt;PRE&gt;sasconf/Lev1/SASApp/BatchServer&lt;/PRE&gt;
&lt;P&gt;(sasconf = where your SAS server configuration is located)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The script accepts all commandline parameters you typically use for running SAS in batch (program name, -log for log, etc)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can write your own wrapper script like&lt;/P&gt;
&lt;PRE&gt;/sasconf/Lev1/SASApp/BatchServer/sasbatch.sh /programs/myprog.sas -log /logs/myprog.log&lt;/PRE&gt;
&lt;P&gt;and have that executed from the scheduler&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 10:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546063#M8149</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-26T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automating a SAS code from a server side</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546078#M8154</link>
      <description>&lt;P&gt;Thanks for your reply. I need to automate it for last sunday of every month. This automation should be done from the scheduler or I can add an extra command to the script?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 11:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546078#M8154</guid>
      <dc:creator>ssaha</dc:creator>
      <dc:date>2019-03-26T11:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automating a SAS code from a server side</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546081#M8157</link>
      <description>&lt;P&gt;Timing and dependencies should be handled by the scheduler, that is what it's for.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 11:29:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Automating-a-SAS-code-from-a-server-side/m-p/546081#M8157</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-26T11:29:02Z</dc:date>
    </item>
  </channel>
</rss>

