<?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 Problem running batch on Unix server in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258161#M49681</link>
    <description>&lt;P&gt;When I create and submit batch on remote server in succession, it gets submitted and the log is generated error free. But when I submit the same batch again after few minutes,&amp;nbsp;it is giving me the below error in log file:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: File is in use /backup/adhoc/batchtest007.sas.
ERROR: Errors printed on page 1.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, when I checked on the server, there is a process "sasels" active(please see attachment) which needs to be killed to submit the batch successfully. Please suggest me a method to remediate this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12395i82CA4873BD1E1194/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Untitled.png" title="Untitled.png" /&gt;</description>
    <pubDate>Tue, 22 Mar 2016 10:04:13 GMT</pubDate>
    <dc:creator>Aditi24</dc:creator>
    <dc:date>2016-03-22T10:04:13Z</dc:date>
    <item>
      <title>Problem running batch on Unix server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258161#M49681</link>
      <description>&lt;P&gt;When I create and submit batch on remote server in succession, it gets submitted and the log is generated error free. But when I submit the same batch again after few minutes,&amp;nbsp;it is giving me the below error in log file:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: File is in use /backup/adhoc/batchtest007.sas.
ERROR: Errors printed on page 1.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, when I checked on the server, there is a process "sasels" active(please see attachment) which needs to be killed to submit the batch successfully. Please suggest me a method to remediate this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12395i82CA4873BD1E1194/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Untitled.png" title="Untitled.png" /&gt;</description>
      <pubDate>Tue, 22 Mar 2016 10:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258161#M49681</guid>
      <dc:creator>Aditi24</dc:creator>
      <dc:date>2016-03-22T10:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running batch on Unix server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258163#M49682</link>
      <description>&lt;P&gt;Have you run this past your IT group responsible for the network and SAS install? &amp;nbsp;It could be any number of things, so I would suggest you discuss it with them, and if you still can't figure it out, then an SAS IT support ticket may be in order.&lt;/P&gt;
&lt;P&gt;It may be you just don't have permission to delete that file via your SAS.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 10:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258163#M49682</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-22T10:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running batch on Unix server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258172#M49683</link>
      <description>&lt;P&gt;When you are discussing this, you need consider ELSSRV:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostunx/67929/HTML/default/viewer.htm#n0h9c98pye6fpdn11xu3jvz3gw6z.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostunx/67929/HTML/default/viewer.htm#n0h9c98pye6fpdn11xu3jvz3gw6z.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please clarify how you are executing&amp;nbsp;the batch. The sasels dependency indicates a WorkSpace or a Stored Process server scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 10:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258172#M49683</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-22T10:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem running batch on Unix server</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258177#M49685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH﻿&lt;/a&gt;: First I am establishing a connection to the SAS server on the remote UNIX server then I am creating the batch i.e batch.sas , by including some files like so:-&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%include "/pgmsetup/startup.sas";
%include "/backup/adhoc/AKReq34.sas";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then I am submitting the batch by using statements like so:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"nohup sas93 -noterminal /backup/adhoc/batch.sas -altlog /backup/adhoc/batch.log -print &lt;BR /&gt;/backup/adhoc/batch.lst 2&amp;gt;/dev/null &amp;amp;"; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Mar 2016 11:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-running-batch-on-Unix-server/m-p/258177#M49685</guid>
      <dc:creator>Aditi24</dc:creator>
      <dc:date>2016-03-22T11:20:29Z</dc:date>
    </item>
  </channel>
</rss>

