<?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 probleme with proc delete in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/probleme-with-proc-delete/m-p/709581#M218239</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a program that creates a table Inside the SBOX libray via macro prog and tables in the work Library.&lt;/P&gt;
&lt;P&gt;At the end of the program I would like to delete all tables in the work so I do&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;delete&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;library&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work ; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;My prob is that tables are still existing in the work Library and the sbox table is deleted&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;many thanks in advance for your help&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;regards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Nasser&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jan 2021 10:04:11 GMT</pubDate>
    <dc:creator>Nasser_DRMCP</dc:creator>
    <dc:date>2021-01-06T10:04:11Z</dc:date>
    <item>
      <title>probleme with proc delete</title>
      <link>https://communities.sas.com/t5/SAS-Programming/probleme-with-proc-delete/m-p/709581#M218239</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a program that creates a table Inside the SBOX libray via macro prog and tables in the work Library.&lt;/P&gt;
&lt;P&gt;At the end of the program I would like to delete all tables in the work so I do&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;delete&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;library&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work ; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;My prob is that tables are still existing in the work Library and the sbox table is deleted&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;many thanks in advance for your help&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;regards&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Nasser&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 10:04:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/probleme-with-proc-delete/m-p/709581#M218239</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2021-01-06T10:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: probleme with proc delete</title>
      <link>https://communities.sas.com/t5/SAS-Programming/probleme-with-proc-delete/m-p/709593#M218246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use PROC DATASETS in combination with the KILL keyword to delete all datasets in a library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets library=work kill;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Be careful, because this statement deletes all tables from the specified library without a warning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pim&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2021 10:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/probleme-with-proc-delete/m-p/709593#M218246</guid>
      <dc:creator>Mr_Kempe</dc:creator>
      <dc:date>2021-01-06T10:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: probleme with proc delete</title>
      <link>https://communities.sas.com/t5/SAS-Programming/probleme-with-proc-delete/m-p/709599#M218250</link>
      <description>&lt;BR /&gt;proc delete data=_all_ ; run ;</description>
      <pubDate>Wed, 06 Jan 2021 11:33:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/probleme-with-proc-delete/m-p/709599#M218250</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-01-06T11:33:18Z</dc:date>
    </item>
  </channel>
</rss>

