<?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: How to run a SAS program on a specific application server in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519567#M140740</link>
    <description>&lt;P&gt;These are your log errors:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: File PCORDATA.vwLAB_RESULT_CM_v31.DATA does not exist.
ERROR: File PCORDATA.vwLAB_RESULT_CM_v4.DATA does not exist.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you fix these your job might work. Also it appears you don't include your source code in your log. If you do that normally then I would advise against it. Including the source code in your logs (SAS option SOURCE) is best practice in my view.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Dec 2018 21:24:40 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-12-07T21:24:40Z</dc:date>
    <item>
      <title>How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518224#M140224</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I run the SAS code on a specific application server on linux command line? We have 2 app servers - SASAPP and SASAPP2 with SASAPP2 having more memory allocated. So I would like to run on SASAPP2 to make sure all the memory is allocated to the code to avoid any failures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On SASEG, I just choose the option from "selected server". However not sure how I can do that on linux command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also any command line tips on running long running SAS programs on linux? Any examples would be very helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 20:52:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518224#M140224</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-03T20:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518264#M140244</link>
      <description>&lt;P&gt;Multiple Instances of the SASApp can be running on the same server or can be distributed across different servers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The SAS Metadata server makes these details seamless when you switch from SASAPP instance from the other from any of the clients.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, you need to know the server name mapped to your second logical instance(SASAPP2) to manually run the code directly on that server.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 22:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518264#M140244</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2018-12-03T22:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518274#M140249</link>
      <description>&lt;P&gt;Why do you need to run SAS jobs from a linux command line? It is a whole lot easier doing this from SAS Management Console Schedule Manager.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 23:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518274#M140249</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-03T23:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518276#M140251</link>
      <description>&lt;P&gt;Hi Rupa,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have to use GRIDAPPSERVE option in SASGSUB.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check this out --&lt;A href="http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#p05eo0im8mix5qn1bz77trdvzd2s.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#p05eo0im8mix5qn1bz77trdvzd2s.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 00:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518276#M140251</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-12-04T00:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518286#M140257</link>
      <description>&lt;P&gt;Are you talking about sending to a different machine or executing locally?&lt;/P&gt;
&lt;P&gt;Do you want to just call the sas executable or do you want to go through the&amp;nbsp;&lt;SPAN&gt;SAS Metadata server?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It's the&amp;nbsp;latter case it seems since you want to use&amp;nbsp;SASAPP2. So you need to talk to the&amp;nbsp;SAS Metadata server. This can be done via different methods, for example using CORBA or &lt;A href="http://support.sas.com/documentation/cdl/en/omaref/59983/HTML/default/viewer.htm#a003297220.htm" target="_self"&gt;Java&lt;/A&gt;. The documentation for the&amp;nbsp;Open Metadata Interface is &lt;A href="https://documentation.sas.com/api/docsets/omaref/9.4/content/omaref.pdf?locale=en" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 01:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518286#M140257</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-12-04T01:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518291#M140260</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;- I just want to execute locally on the compute server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;- The reason I want to run on linux command line is due to the fact that we have SSO enabled and that expires the SASEG session every 10 hours. This is causing our long running SAS programs to fail, so I am looking to run from command line where I can auto renew/extend the kerberos tickets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83078"&gt;@SuryaKiran&lt;/a&gt;&amp;nbsp;- Thanks Surya. This seems to be SAS grid options and we don't have that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to provide more details, we have 2 servers - meta and compute. Compute server has 2 app servers - sasapp and sasapp2 and I would like to run the sas code on sasapp2 context form command line. Something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/sas/sashome/SASFoundation/9.4/sas &amp;nbsp;sascode.sas -log sascode.log "-option" sasapp2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also see the options -memsize /-sortsize. Should I just mention those and run the code?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 02:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518291#M140260</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-04T02:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518293#M140261</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;- I'm suggesting SAS Management Console, not EG. A batch job started by SMC will not be affected by any timeout limits on the SMC to SAS server connection - you can close SMC and the batch jobs continue totally independently.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 02:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518293#M140261</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-04T02:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518505#M140336</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;. I started looking at that. I was able to schedule the job, however when I run it , nothing happens. I am still checking where the logs are getting generated. Looks like I need to install the flow manager to check the status of the jobs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 17:38:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518505#M140336</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-04T17:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518527#M140347</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;For SMC you can assign the directory for the batch job logs on the Properties of the Server Manager - SASApp - SAS DATA Step Batch Server.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518527#M140347</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-04T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518939#M140489</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;!! That's exactly what I was looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 20:59:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518939#M140489</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-05T20:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518949#M140493</link>
      <description>&lt;P&gt;Cool&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;- I must admit finding where to configure stuff in SMC is sometimes not obvious...&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 21:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/518949#M140493</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-05T21:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519337#M140653</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;- Couple more questions, if you could clarify?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need the flow manager to check the status of the jobs? Is there a way to check the status of the jobs from SASMC?&lt;/P&gt;&lt;P&gt;Also I read we can email the status of the job. Any direction on how to configure that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 01:34:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519337#M140653</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-07T01:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519345#M140655</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/185092"&gt;@RupaJ&lt;/a&gt;&amp;nbsp;- what scheduler are you using? Platform Process Manager or Operating System Services?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 02:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519345#M140655</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-07T02:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519392#M140670</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;-&amp;nbsp;&lt;SPAN&gt;Operating System Services.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 11:48:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519392#M140670</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-07T11:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519394#M140671</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/216503"&gt;@all&lt;/a&gt; - And just to circle back to my original question. I used the following command on linux&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/sas/SASHome/SASFoundation/9.4/sas run_queries.sas -work /SAS_Work/WS2/SASWork -memsize 171798691840 -sortsize 17179869184 -log /SAS_Testing/tests.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It errors out within minutes. However when I execute the code in SASEG (Enterprise guide), it runs fine with no issues. &amp;nbsp;I guess I am missing to add some necessary options ?? Any idea.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the complete log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 12:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519394#M140671</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-07T12:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519428#M140677</link>
      <description>&lt;P&gt;Just to add,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;- I ran the same code from SASMC too and it error ed out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 14:30:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519428#M140677</guid>
      <dc:creator>RupaJ</dc:creator>
      <dc:date>2018-12-07T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a SAS program on a specific application server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519567#M140740</link>
      <description>&lt;P&gt;These are your log errors:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: File PCORDATA.vwLAB_RESULT_CM_v31.DATA does not exist.
ERROR: File PCORDATA.vwLAB_RESULT_CM_v4.DATA does not exist.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you fix these your job might work. Also it appears you don't include your source code in your log. If you do that normally then I would advise against it. Including the source code in your logs (SAS option SOURCE) is best practice in my view.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 21:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-run-a-SAS-program-on-a-specific-application-server/m-p/519567#M140740</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-12-07T21:24:40Z</dc:date>
    </item>
  </channel>
</rss>

