<?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: Write one line of code to delete everything in the WORK directory? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78877#M256469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to delete ONLY datasets, you can modify PGStats code to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC DATASETS LIB=work NOlist MEMTYPE=data kill;&lt;/P&gt;&lt;P&gt;RUN; QUIT; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 14:49:46 GMT</pubDate>
    <dc:creator>Altal</dc:creator>
    <dc:date>2013-09-11T14:49:46Z</dc:date>
    <item>
      <title>Write one line of code to delete everything in the WORK directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78875#M256467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;Can you please guide me in write one line of code to delete everything in the WORK directory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 14:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78875#M256467</guid>
      <dc:creator>Sarvendra</dc:creator>
      <dc:date>2013-09-11T14:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Write one line of code to delete everything in the WORK directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78876#M256468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;proc datasets library=WORK kill; run; quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 14:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78876#M256468</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-09-11T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Write one line of code to delete everything in the WORK directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78877#M256469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to delete ONLY datasets, you can modify PGStats code to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC DATASETS LIB=work NOlist MEMTYPE=data kill;&lt;/P&gt;&lt;P&gt;RUN; QUIT; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 14:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78877#M256469</guid>
      <dc:creator>Altal</dc:creator>
      <dc:date>2013-09-11T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Write one line of code to delete everything in the WORK directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78878#M256470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;Tongue in cheek mode on&amp;gt; Work Directory? SAS uses LIBRARIES, we don't use no steeking directories!&lt;/P&gt;&lt;P&gt;&amp;lt;Tongue in cheek mode off&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seriously since the WORK &lt;STRONG&gt;LIBRARY&lt;/STRONG&gt;&amp;nbsp; could refer to a directory like C:\users\name\AppData\Local\Temp\SAS Temporary Files\_TD12345 it is a good idea to keep terminology straight to avoid possible serious confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I do have a Work directory and it is not the same as my Work library. Deleting contents of one, the LIBRARY, would be a minor inconvenience as it is for temporary data sets. The other could potentially mean recreating hours if not days of work as it contains output products and documents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 15:25:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78878#M256470</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-09-11T15:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Write one line of code to delete everything in the WORK directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78879#M256471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;LIB=Work means the temporary SAS session library within the environment. It won't affect any other physical directory on the Network or the station. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 15:31:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78879#M256471</guid>
      <dc:creator>Altal</dc:creator>
      <dc:date>2013-09-11T15:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Write one line of code to delete everything in the WORK directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78880#M256472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, but the OP DID say the work DIRECTORY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 16:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/78880#M256472</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-09-11T16:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Write one line of code to delete everything in the WORK directory?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/465338#M256473</link>
      <description>&lt;P&gt;proc delete data=work._all_;run;&lt;/P&gt;</description>
      <pubDate>Sun, 27 May 2018 16:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Write-one-line-of-code-to-delete-everything-in-the-WORK/m-p/465338#M256473</guid>
      <dc:creator>ravigiit44</dc:creator>
      <dc:date>2018-05-27T16:24:17Z</dc:date>
    </item>
  </channel>
</rss>

