<?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: Running sas on unix by batch in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265657#M52267</link>
    <description>&lt;P&gt;This is technically possible, but it really isn't a case of whether SAS supports this or not.&amp;nbsp;&amp;nbsp; Yes, SAS can be run in batch on Unix by writting a unix script that executes the proper command line commands.&amp;nbsp; As a result if you write a VBA program that executes on windows via a .bat file if your windows machine has the proper connectivity to the unix server than you can do what you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As asked by a previous responder what is your overall goal, because simply because its technically possible doesn't always mean it is a feasible way to run a product level application/job.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2016 14:56:57 GMT</pubDate>
    <dc:creator>DavidPope</dc:creator>
    <dc:date>2016-04-22T14:56:57Z</dc:date>
    <item>
      <title>Running sas on unix by batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265527#M52234</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I would like to run sas on unix by VBA, .bat file&lt;/P&gt;
&lt;P&gt;is it possible to use a VBA program to create a .bat file to run a sas session on unix ? How&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265527#M52234</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-04-21T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Running sas on unix by batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265642#M52263</link>
      <description>&lt;P&gt;Can you elaborate about your requirement?&lt;/P&gt;
&lt;P&gt;Why do you want to use VBA?&lt;/P&gt;
&lt;P&gt;What kind of batches do you have, and how&amp;nbsp;do you wish to deploy them?&lt;/P&gt;
&lt;P&gt;Do you have a metadata server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Technically, to answer your direct question, is not a SAS question. So it would be better replied in a VBA or UNIX forum.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:44:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265642#M52263</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-22T13:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Running sas on unix by batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265657#M52267</link>
      <description>&lt;P&gt;This is technically possible, but it really isn't a case of whether SAS supports this or not.&amp;nbsp;&amp;nbsp; Yes, SAS can be run in batch on Unix by writting a unix script that executes the proper command line commands.&amp;nbsp; As a result if you write a VBA program that executes on windows via a .bat file if your windows machine has the proper connectivity to the unix server than you can do what you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As asked by a previous responder what is your overall goal, because simply because its technically possible doesn't always mean it is a feasible way to run a product level application/job.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 14:56:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265657#M52267</guid>
      <dc:creator>DavidPope</dc:creator>
      <dc:date>2016-04-22T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Running sas on unix by batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265773#M52316</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;That's very kind from you. I have used unix to run sas session before.&lt;/P&gt;
&lt;P&gt;To explain, I have a VBA on server a and SAS uner unix and cmd on server b. There is no connexion between the server a and server b. But there is a commun folder R:\ on server a and server b.&lt;/P&gt;
&lt;P&gt;The idea is to run VBA on server a to create a batch.bat file in folder R:\ and run batch.bat on server b to run a sas session on server b.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 21:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265773#M52316</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-04-22T21:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Running sas on unix by batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265788#M52322</link>
      <description>&lt;P&gt;The issue you are running into is that you are trying to execute a unix cmd (script) using a Windows OS user (via VBA and .bat).&lt;/P&gt;
&lt;P&gt;Your .bat file will need to rlogin to the unix environment (which will require a unix userid/password) and then pass the necessary unix cmds to be executed by that unix id.&amp;nbsp; Think about the servers like you would the userids/commands they can run as different "scopes".&lt;/P&gt;
&lt;P&gt;If you are familiar with scope when it comes to running procedures or macros it is somewhat similar to that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 23:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265788#M52322</guid>
      <dc:creator>DavidPope</dc:creator>
      <dc:date>2016-04-22T23:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Running sas on unix by batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265819#M52334</link>
      <description>&lt;P&gt;Thank you that's very kind from you.&lt;/P&gt;
&lt;P&gt;Non, I am not familiar with scope, but any documentation for that's are welcomed.&lt;/P&gt;
&lt;P&gt;There is no connexion allowed between the servers a and b, but there is one commun directory R:\ in a and b&lt;/P&gt;
&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 13:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/265819#M52334</guid>
      <dc:creator>LineMoon</dc:creator>
      <dc:date>2016-04-23T13:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running sas on unix by batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/266081#M52398</link>
      <description>&lt;P&gt;"Scope" in this case is a general programming term.&amp;nbsp; Look up programming scope for more information.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 15:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-sas-on-unix-by-batch/m-p/266081#M52398</guid>
      <dc:creator>DavidPope</dc:creator>
      <dc:date>2016-04-25T15:34:49Z</dc:date>
    </item>
  </channel>
</rss>

