<?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: Program stops because a dataset is open on someone's workstation in All Things Community</title>
    <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262894#M1541</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;- you mean "&lt;SPAN&gt;SAS workspace server &lt;EM&gt;sessions&lt;/EM&gt;" I guess...?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have lots of&amp;nbsp;data, and import updates etc (like en enterprise wide DW) you should consider another storage format that handles concurrent read/update operations. In SAS, SPD Server offers that. And most external RDBMS does as well.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2016 13:24:23 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-04-11T13:24:23Z</dc:date>
    <item>
      <title>Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262804#M1538</link>
      <description>&lt;P&gt;I am using SAS 9.4 in a client server model.&lt;/P&gt;&lt;P&gt;The sas jobs execute on Unix server. There can be many users who can open a dataset for viewing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, when some one opens it for even viewing , and forgets to close it, my job fails when it tries to update those datasets.&lt;/P&gt;&lt;P&gt;Is there any way we can force to update those datasets without the jobs failing ?&lt;/P&gt;&lt;P&gt;Also is there any way if we can know if a dataset is open on someone's workstation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 05:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262804#M1538</guid>
      <dc:creator>neetesh_2000</dc:creator>
      <dc:date>2016-04-11T05:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262806#M1539</link>
      <description>&lt;P&gt;Method 1: Declare a time window for updating datasets and suspend workspace server operations during that time window.&lt;/P&gt;
&lt;P&gt;Method 2: Use a trick that I do; I obtain the physical dataset filename from the library definition and the dataset name, and use one of the methods for system commands (X statement, call system() subroutine, %sysexec, filename pipe) to do a "&lt;FONT face="courier new,courier"&gt;rm -f &lt;EM&gt;filename&lt;/EM&gt;&lt;/FONT&gt;". This works even when someone accesses the dataset. All users who have the dataset open will see the old version until they close and reopen.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 06:05:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262806#M1539</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-04-11T06:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262821#M1540</link>
      <description>&lt;P&gt;A variation of&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser﻿&lt;/a&gt;'s method 1 is to stop and re-start the SAS workspace server services before running any update jobs. This will drop all SAS sessions including any locks they have on SAS datasets.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 07:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262821#M1540</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-04-11T07:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262894#M1541</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;- you mean "&lt;SPAN&gt;SAS workspace server &lt;EM&gt;sessions&lt;/EM&gt;" I guess...?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have lots of&amp;nbsp;data, and import updates etc (like en enterprise wide DW) you should consider another storage format that handles concurrent read/update operations. In SAS, SPD Server offers that. And most external RDBMS does as well.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 13:24:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/262894#M1541</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-11T13:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263005#M1542</link>
      <description>&lt;P&gt;Actually&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH﻿&lt;/a&gt;&amp;nbsp;I was thinking of the Windows services that run to support a SAS Compute server. Stopping and restarting these drops all user sessions. I guess there is an equivalent under Unix but I'm not so familiar with that as I don't use it currently.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 19:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263005#M1542</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-04-11T19:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263022#M1543</link>
      <description>Maybe the hour is late, but I don't think stopping a service will take down workspace server sessions. Perhaps pooled ones, but not the regular ones. &lt;BR /&gt;I've used a simple script to kill all SAS (with some exceptions) sessions before the batch starts.</description>
      <pubDate>Mon, 11 Apr 2016 20:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263022#M1543</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-11T20:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263023#M1544</link>
      <description>&lt;P&gt;On UNIX systems, terminating the spawner will not affect client sessions. But one could write a script that finds all workspace server sessions through the peculiarities of their command line, and terminates them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I prefer my method of deleting the files, as it is less "destructive" for users.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 20:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263023#M1544</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-04-11T20:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263316#M1545</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH﻿&lt;/a&gt;&amp;nbsp;- I think you are correct however I should have explained that shutting down metadata server services will do the trick.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 19:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/263316#M1545</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-04-12T19:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Program stops because a dataset is open on someone's workstation</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/266793#M1565</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about to use&amp;nbsp;PROC IOMOPERATE to list and stop your SAS sessions avoidind the jobs to fail the execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Here some useful links:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="Using PROC IOMOPERATE to list and stop your SAS sessions" href="http://blogs.sas.com/content/sasdummy/2016/02/15/using-proc-iomoperate/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2016/02/15/using-proc-iomoperate/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="A custom task to list and stop your SAS sessions" href="http://blogs.sas.com/content/sasdummy/2016/02/20/proc-iomoperate-custom-task/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2016/02/20/proc-iomoperate-custom-task/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 17:45:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Program-stops-because-a-dataset-is-open-on-someone-s-workstation/m-p/266793#M1565</guid>
      <dc:creator>BrunoSilva</dc:creator>
      <dc:date>2016-04-27T17:45:53Z</dc:date>
    </item>
  </channel>
</rss>

