<?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: Schedual Submit a SAS code without open SAS console in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/370185#M275578</link>
    <description>&lt;PRE&gt;.bat submit to pc

"C:\Program Files\SASHome\SASFoundation\9.3\sas.exe" -SYSIN "C:\Users\test123.sas" -logparm "OPEN=APPEND" -LOG "C:\Users\test123.LOG"


.bat submit to mainframe
rem  ** mainframe aaa submit 
rem  ** submit C:\zschedule
rem  **
Z:
cd "\akaa\asdf\"
	ftpjob C:\Users\aaaaa\Documents\WORK\Projects\a_batch\a1forthistime &amp;gt;C:\Users\aaaaa\Documents\WORK\Projects\a_batch\a1forthistime.log
rem  ** rolllog c:\zschedule\a2forthistime.log /a 6
exit 


.sh

sas /home/user/zcrontab/zcrontabtest.sas &amp;gt;/home/user/zcrontab/zcrontabtest.log -logparm "OPEN=APPEND" &amp;amp; &lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Jun 2017 22:46:15 GMT</pubDate>
    <dc:creator>GeorgeSAS</dc:creator>
    <dc:date>2017-06-23T22:46:15Z</dc:date>
    <item>
      <title>Schedual Submit a SAS code without open SAS console</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/369367#M275575</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run SAS at PC environment. I have a sas code needto be schedualled running(with&amp;nbsp;windows task schedular) without open SAS software. Please teach me how to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, I want the SAS program&amp;nbsp;to be runned&amp;nbsp;at each Sunday on10:00 AM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 23:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/369367#M275575</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-06-21T23:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Schedual Submit a SAS code without open SAS console</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/369375#M275576</link>
      <description>&lt;P&gt;Here are some of the possible methods:&amp;nbsp;&lt;A href="http://blogs.sas.com/content/sgf/2013/08/14/four-ways-to-schedule-sas-tasks/" target="_blank"&gt;http://blogs.sas.com/content/sgf/2013/08/14/four-ways-to-schedule-sas-tasks/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 00:29:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/369375#M275576</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-06-22T00:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Schedual Submit a SAS code without open SAS console</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/369403#M275577</link>
      <description>&lt;P&gt;The way you wrote your question, this is impossible. You can't run SAS programs without SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you just want to avoid that any kind of &lt;U&gt;interactive&lt;/U&gt; SAS software (a Display Manager, or Enterprise Guide) opens on the desktop, you need to look at #1 in the link provided by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13711"&gt;@art297&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This all depends on how your SAS environment is set up. If you have a SAS server and use SAS Studio in a browser or Enterprise Guide to connect to it, then running SAS batch jobs from the desktop will be a helluva lot of work, and work reliably only on every February 35th in odd leapyears.&lt;/P&gt;
&lt;P&gt;In this case, create the batch file or shell script on the server and use the server's scheduling. If you have any kind of organization-wide scheduling in place that is run by the datacenter, attach your jobs to that. Takes quite some work upfront, but is the best option in the long run.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 07:59:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/369403#M275577</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-22T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Schedual Submit a SAS code without open SAS console</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/370185#M275578</link>
      <description>&lt;PRE&gt;.bat submit to pc

"C:\Program Files\SASHome\SASFoundation\9.3\sas.exe" -SYSIN "C:\Users\test123.sas" -logparm "OPEN=APPEND" -LOG "C:\Users\test123.LOG"


.bat submit to mainframe
rem  ** mainframe aaa submit 
rem  ** submit C:\zschedule
rem  **
Z:
cd "\akaa\asdf\"
	ftpjob C:\Users\aaaaa\Documents\WORK\Projects\a_batch\a1forthistime &amp;gt;C:\Users\aaaaa\Documents\WORK\Projects\a_batch\a1forthistime.log
rem  ** rolllog c:\zschedule\a2forthistime.log /a 6
exit 


.sh

sas /home/user/zcrontab/zcrontabtest.sas &amp;gt;/home/user/zcrontab/zcrontabtest.log -logparm "OPEN=APPEND" &amp;amp; &lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Jun 2017 22:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Schedual-Submit-a-SAS-code-without-open-SAS-console/m-p/370185#M275578</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-06-23T22:46:15Z</dc:date>
    </item>
  </channel>
</rss>

