<?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: Base SAS running on Server vs Local Machine in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132513#M260724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have access to SAS running on a server now?&amp;nbsp; Are you planning to use Enterprise Guide to run code on the server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just slightly confused because there are (at least) two different paths for avoiding network bottlenecks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can run SAS locally.&amp;nbsp; And when you run a SQL query against a remote database, you can do an explicit pass-through query which will have the query run on the distant SQL database, and return just the results back to you.&amp;nbsp; For that, you would want to look for papers on connecting to SQL server etc from SAS.&amp;nbsp; So the SAS job runs locally, and the query runs on the SQL server database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it sounds like you may have a server that is running SAS, and that server is also closer to your SQL server database than you are?&amp;nbsp; In that case, then yes, I would think running the SAS job on the SAS server might help.&amp;nbsp; And I would look for papers etc about Enterprise Guide, or even old fashioned papers about how to log into to a server directly and submit SAS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it would help if you told us more about your environment:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you have a SAS server?&lt;/P&gt;&lt;P&gt;&amp;nbsp; What OS?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you have Enterprise Guide?&lt;/P&gt;&lt;P&gt;&amp;nbsp; etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 15:17:06 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2013-05-08T15:17:06Z</dc:date>
    <item>
      <title>Base SAS running on Server vs Local Machine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132512#M260723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. While in school I "learned" to use SAS from a base sas version that ran on a local machine. Furthermore, at my work we use&amp;nbsp; a base sas system that runs on a local machine.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In order for me to interact with much of our data storage I have used odbc connections to sql server to transfer data from my local machine to our Sql Server databases. I am curious as to whether or not SAS has a way to run jobs on a server instead of a local machine, as a means to increase efficiency by reducing the network bottlenecks. (I'm sure that SAS does have this, I have just never used it before and don't know where to start).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest a good starting paper for a brand new user of SAS on server applications? I have looked online but&amp;nbsp; feel I am missing something as I cannot find any simple papers that explain how a sas server environment works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:42:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132512#M260723</guid>
      <dc:creator>Anotherdream</dc:creator>
      <dc:date>2013-05-08T14:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Base SAS running on Server vs Local Machine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132513#M260724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have access to SAS running on a server now?&amp;nbsp; Are you planning to use Enterprise Guide to run code on the server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just slightly confused because there are (at least) two different paths for avoiding network bottlenecks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can run SAS locally.&amp;nbsp; And when you run a SQL query against a remote database, you can do an explicit pass-through query which will have the query run on the distant SQL database, and return just the results back to you.&amp;nbsp; For that, you would want to look for papers on connecting to SQL server etc from SAS.&amp;nbsp; So the SAS job runs locally, and the query runs on the SQL server database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it sounds like you may have a server that is running SAS, and that server is also closer to your SQL server database than you are?&amp;nbsp; In that case, then yes, I would think running the SAS job on the SAS server might help.&amp;nbsp; And I would look for papers etc about Enterprise Guide, or even old fashioned papers about how to log into to a server directly and submit SAS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it would help if you told us more about your environment:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you have a SAS server?&lt;/P&gt;&lt;P&gt;&amp;nbsp; What OS?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you have Enterprise Guide?&lt;/P&gt;&lt;P&gt;&amp;nbsp; etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 15:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132513#M260724</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2013-05-08T15:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Base SAS running on Server vs Local Machine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132514#M260725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Thanks for the response. I will give answers to your statement the best I can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am running sas on a local machine, the server says "local". What you mention in your third pararaph (using the explicit pass thorugh query) is actually what I do in a large portion of my code. However, my local machine is in in the mid-west and the sql server is way over on the east coast. So running a query that takes 5 seconds in sql server turns into 3-5 minutes because of the transfer of large portions of data (lots of large comment data) over our network. (this is how I understand it, but again I have never worked with or even heard of servers until about a year ago, and am still very new to this subject).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to get around this problem, I had a VM set up in the same location as our servers, and then I had base sas installed on the VM. Now when I run a job to return results to sas from the sql server database it runs a LOT quicker, and it seemed to fix this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I have heard that you can install SAS on a server (which I do not have), and I would think that programs run from this would theoritically be faster since a server has greater resources than a local machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the following statement correct? "Sas on a server is just a copy of sas installed on whatever computer the server is hosted on", and then there is a way to log into the server and run jobs from the sas on it? If so, how does one do this? I guess a high level paper on how servers work, and how sas works on a server compared to sas installed on a local machine would help a lot, I just cannot find a paper that goes over this at a very beginning level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have a sas server (it is just sas stalled on a local machine), however I have a VM that has SAS installed on it that I often schedule jobs from using bat files.&lt;/P&gt;&lt;P&gt;I am running windows Xp.&lt;/P&gt;&lt;P&gt;I do not have enterprise guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any other answers might be helpful, and thanks for your time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 15:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132514#M260725</guid>
      <dc:creator>Anotherdream</dc:creator>
      <dc:date>2013-05-08T15:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Base SAS running on Server vs Local Machine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132515#M260726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good followup info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your description of running SAS on a VM set up near your SQL server makes sense, and is probably the best you can do without convincing folks to license a server version of SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server SAS is not just PC SAS installed on a server.&amp;nbsp; Server SAS does a lot more.&amp;nbsp; It allows multiple people to connect and run jobs at the same time, there is security via roles/users defined in metadata, there is blah blah.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The nice thing about SAS on a server is that as an end user (i.e. programmer), it can feel very similary to PC SAS.&amp;nbsp; So the learning curve for a programmer isn't much.&amp;nbsp; But it's a different kind of license for company to buy, and requires a level of server administration/support, etc.&amp;nbsp; So it's a strategic decision for a company to invest in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If interested in learning more about what it is like to have SAS running on a server, I would suggest you search lexjansen.com for papers.&amp;nbsp; e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/364-2012.pdf"&gt;http://support.sas.com/resources/papers/proceedings12/364-2012.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you could probably just call SAS and say "I'm a PC SAS user, trying to talk my boss into buying an enterprise server license, where should I go for more information on that possibility."&amp;nbsp; I'm sure they'd be happy to help. : )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 16:56:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Base-SAS-running-on-Server-vs-Local-Machine/m-p/132515#M260726</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2013-05-08T16:56:09Z</dc:date>
    </item>
  </channel>
</rss>

