<?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: cleaning 'sasuser' library in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115227#M9783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have ran &lt;STRONG&gt;proc datasets lib=sasuser kill&amp;nbsp; memtype=data &lt;/STRONG&gt;to kill datasets under 'SASUSER' library (c:\.....) it ran successfully but didn't cleanup datasets, no error in the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look into system security and figured that userid this batch job running with is in not 'ADMINISTRATOR' group. userid is in 'SAS SERVER USER' group list but not in 'ADMINISTRATOR' group...and that might the case it ran but didn't cleanup datasets...it also might possible i am running this batch job from '&lt;STRONG&gt;f:\&lt;/STRONG&gt;', share drive, and trying to clean something in 'c:\' drive...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Aug 2013 16:54:22 GMT</pubDate>
    <dc:creator>sas_9</dc:creator>
    <dc:date>2013-08-26T16:54:22Z</dc:date>
    <item>
      <title>cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115220#M9776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Hello community&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;we are running SAS application (eg) on server machine only. users used to save their work (temporary kind of work) on 'SASUSER' library (eg session work) and i have tried to clean only sas data sets (.sas7bdat) (I think this library is not temporary as well as not permanant where we can save work all the time...and that is y i planned to clean that up on weekly bases on WINDOWS environment). I ran following command in BAT file but it failed to clean it, however i don't see anything wrong in command line...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;can anyone please suggest/help on this how can i cleanup 'SASUSER' library with sas data sets only (.sas7bdat) on server itself...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------&lt;/P&gt;&lt;P&gt;set LogDir="f:\prodn\log"&lt;/P&gt;&lt;P&gt;c:&lt;BR /&gt;cd \&lt;/P&gt;&lt;P&gt;DEL C:\Documents and Settings\ussasadmin\My Documents\My SAS Files\9.1\*.sas7bdat&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;echo cleanup has been done at 'C:\Documents and Settings\ussasadmin\My Documents\My SAS Files\9.1' &amp;gt;&amp;gt;%logdir%\temp_cleanup.log&lt;BR /&gt;date /t &amp;gt;&amp;gt; %logdir%\temp_cleanup.log&lt;BR /&gt;time /t &amp;gt;&amp;gt; %logdir%\temp_cleanup.log&lt;BR /&gt;echo. &amp;gt;&amp;gt; %logdir%\temp_cleanup.log&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 17:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115220#M9776</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-08-19T17:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115221#M9777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A __default_attr="3209" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would not a proc datasets procedure work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the memtype = data to delete only the datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 00:35:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115221#M9777</guid>
      <dc:creator>peter_stagg</dc:creator>
      <dc:date>2013-08-20T00:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115222#M9778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am familiar with that process but i am not sure if it will delete 'profile file' and 'registry files' too...I don't want to delete those files since this is 'SASUSER' library...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 05:52:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115222#M9778</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-08-20T05:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115223#M9779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sandy,&amp;nbsp; Your problem is now well described.&amp;nbsp; SASUSER and the personal data storage.&lt;/P&gt;&lt;P&gt;The batch file has the issue you have to know all users and have all acessrigts there. They probably not running under "ussasadmin"but under their own key. So&amp;nbsp; C:\Documents and Settings\&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;ussasadmin&lt;/STRONG&gt;&lt;/SPAN&gt;\My Documents\My SAS Files\9.1\*.sas7bdat&amp;nbsp; will not work.&lt;/P&gt;&lt;P&gt;SASuser is meant to be personal&amp;nbsp; connected to the %USERPROFILE% of windows. A more adavanced reference is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to force people not using their "My documents" etc while Microsoft is pushing them direction is a losing game.&lt;/P&gt;&lt;P&gt;The better approach would be a setting they are not tempted that easy storing data in SASUSER.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;With Eguide usage this SASuser location is set often read-only within SAS by default.&amp;nbsp; You are describing a DMS approach (SAS base). The storing of data with 1-level names is a easy approach of coding and can be influenced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The issue of the sasuser usage can be solved different. &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#p1u2sj0t0x11j2n1d035d3xtaesw.htm" title="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#p1u2sj0t0x11j2n1d035d3xtaesw.htm"&gt;SAS(R) 9.3 Companion for Windows&lt;/A&gt; (user= system option).&lt;/P&gt;&lt;P&gt;You could set it to the same as WORK. But by default this location is %TEMP% also bound to be to the personal key.&lt;BR /&gt;There must be a location for user-modifications in the config.sas at your installation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 08:18:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115223#M9779</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-08-20T08:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115224#M9780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Japp - i have chcked it and its running using 'ussasadmin' user id only. property if the library (SASUSER) is as follow;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;server=sasmain&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;engine- v9&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;readonly - yes &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;temporary - no&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; so i think wourkaround might&amp;nbsp; be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- forcing directory to delete sas data sets&amp;nbsp; by putting some special character in command line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then may need to provide new library to users to save their work...rather than use 'SASUSER' library to storing eg session/work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 20:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115224#M9780</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-08-20T20:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115225#M9781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have created some sas data sets and views in test library and below code is deleting sas datasets only, leaving view undeleted - but still is it safe to run this code in as BAT file? and will it delete sas data sets in 'SASUSER' library which is 'READ' only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname xyz 'f:\xyz';&lt;/P&gt;&lt;P&gt;proc datasets lib=xyz kill memtype=data;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 00:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115225#M9781</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-08-21T00:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115226#M9782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The proc datasets,&amp;nbsp; with 9.4 proc delete is back, is the best way to clean up SAS managed data/content. (ODS and OMI to be added).&lt;/P&gt;&lt;P&gt;You could run this SAS code by a SAS batch-job using a batch file.&lt;/P&gt;&lt;P&gt;Keep it simple (KISS) the one (owner/process) creating the rubbish should also do the cleanup. In excptions a Garbage clean service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue you are possible running into is locking. Locking is well known from databases.&amp;nbsp; It first implementation was on mulituser OS.&lt;/P&gt;&lt;P&gt;When someone has locked a record somebody else cannot use that record in the same way.&amp;nbsp; &lt;/P&gt;&lt;P&gt;To overcome the dealocks for updating you can tell just doing reads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows is now multiuser and can do locking. The Original DOS 2.1 single user single machine was missing that.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Even weird behavior can oocur like: &lt;A href="http://support.microsoft.com/kb/296264/en" title="http://support.microsoft.com/kb/296264/en"&gt; Configuring opportunistic locking in Windows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unix has been designed for multiuser but is mostly missing a multiuser implementation. Phones - routers etc a single proces person.&lt;/P&gt;&lt;P&gt;Old guy Mainframe was the most strict on this (disp=..) .&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;That should be background knowledge. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS is running on top of and OS and has to follow what is delivered by that. &lt;/P&gt;&lt;P&gt;Filelocks are possible. Setting a directory for read-only will have the access for read-only no updates (including deletes).&lt;/P&gt;&lt;P&gt;You cannot change that be defining an other libname it will reuse the old ones (trying to disconenct/connect first).&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seen you last note accessing the server, you are moving form old SAS base/foundation to using BI/DI with Eguide. With Eguide the SASuser is closed (read-only) no garbage will be created anymore.&lt;/P&gt;&lt;P&gt;Advice:&lt;/P&gt;&lt;P&gt;- Do a cleanup for one time&lt;/P&gt;&lt;P&gt;- go for you users to implement and support something that is workable for temp/permanent datasets &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 06:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115226#M9782</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-08-21T06:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115227#M9783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have ran &lt;STRONG&gt;proc datasets lib=sasuser kill&amp;nbsp; memtype=data &lt;/STRONG&gt;to kill datasets under 'SASUSER' library (c:\.....) it ran successfully but didn't cleanup datasets, no error in the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look into system security and figured that userid this batch job running with is in not 'ADMINISTRATOR' group. userid is in 'SAS SERVER USER' group list but not in 'ADMINISTRATOR' group...and that might the case it ran but didn't cleanup datasets...it also might possible i am running this batch job from '&lt;STRONG&gt;f:\&lt;/STRONG&gt;', share drive, and trying to clean something in 'c:\' drive...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 16:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115227#M9783</guid>
      <dc:creator>sas_9</dc:creator>
      <dc:date>2013-08-26T16:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: cleaning 'sasuser' library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115228#M9784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandy you are now possible running into the UAC Windows&amp;nbsp; quirks behavior.&lt;/P&gt;&lt;P&gt;Running as administrator (or root) is not appreciated and all kind of technical mitigations are introduced to disencourage that.&lt;/P&gt;&lt;P&gt;It is a littlebit painful SAS institute is not doing well at those requirements and their related effects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples:&lt;/P&gt;&lt;P&gt;- You can not use a "domain admin" to be used with SAS spawners and scheduling having it kept those rights&lt;/P&gt;&lt;P&gt;&amp;nbsp; As the "local service" account is running those processes and that one is not allowed to elevate rights to admin. (MS design)&lt;/P&gt;&lt;P&gt;- Some procedures are requiing attention &lt;A class="active_link" href="http://platformadmin.com/blogs/paul/2011/01/sas92hfadd-viewregistry-windows-server-2008-r2/" title="http://platformadmin.com/blogs/paul/2011/01/sas92hfadd-viewregistry-windows-server-2008-r2/"&gt;Using SAS92HFADD &amp;amp;amp; ViewRegistry on Windows Server 2008 R2 - platformadmin.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; Others like:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/18/274.html" title="http://support.sas.com/kb/18/274.html"&gt;18274 - When you use the MEMCACHE or MEMLIB system options the following error message occurs "Error: Cannot adjust the token privileges with error 1300."&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/43/425.html" title="http://support.sas.com/kb/43/425.html"&gt;43425 - The error "SETINIT: FAILED. Install will now abort" occurs during installation of SAS® 9.2 on the Windows platform&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Bypassing or ingoring UAC (virusscanners firewalls and others) going back to the stone-age when security was not important is not very advisable.Only when you can oversee the impact and consequences on it is acceptable &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 05:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/cleaning-sasuser-library/m-p/115228#M9784</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2013-08-27T05:22:56Z</dc:date>
    </item>
  </channel>
</rss>

