<?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: Data Step Delete Statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-Delete-Statement/m-p/236678#M43380</link>
    <description>Delete in SAS erases a row not a variable. You can't delete a variable, you can set it to missing though.&lt;BR /&gt;&lt;BR /&gt;if field1=field2 then call missing(field2);&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Nov 2015 22:36:46 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-11-26T22:36:46Z</dc:date>
    <item>
      <title>Data Step Delete Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-Delete-Statement/m-p/236676#M43379</link>
      <description>&lt;P&gt;Happy Turkey Day all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following code;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date master;&lt;/P&gt;
&lt;P&gt;set master;&lt;/P&gt;
&lt;P&gt;if field1 = field2 then delete field2;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is giving me the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR Expecting a ;.&lt;/P&gt;
&lt;P&gt;ERROR The option or parameter is not recognized and will be ignored.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've probably been looking at this too long, considering its turkey day and im working, but could use another set of eyes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 22:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-Delete-Statement/m-p/236676#M43379</guid>
      <dc:creator>Ody</dc:creator>
      <dc:date>2015-11-26T22:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step Delete Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-Delete-Statement/m-p/236678#M43380</link>
      <description>Delete in SAS erases a row not a variable. You can't delete a variable, you can set it to missing though.&lt;BR /&gt;&lt;BR /&gt;if field1=field2 then call missing(field2);&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Nov 2015 22:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-Delete-Statement/m-p/236678#M43380</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-26T22:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step Delete Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-Delete-Statement/m-p/236679#M43381</link>
      <description>&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Makes sense.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2015 22:40:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-Delete-Statement/m-p/236679#M43381</guid>
      <dc:creator>Ody</dc:creator>
      <dc:date>2015-11-26T22:40:07Z</dc:date>
    </item>
  </channel>
</rss>

