<?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: delete rows in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/delete-rows/m-p/166399#M43107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to guess that you left off a colon (i.e., =: rather than =), but that your problem is that you are trying to delete records that contain .T, not the character value 'T'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data flux0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set flux;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if mtna =.T then delete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 19:17:01 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2014-11-11T19:17:01Z</dc:date>
    <item>
      <title>delete rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/delete-rows/m-p/166397#M43105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to delete rows.&lt;/P&gt;&lt;P&gt;this is my program&lt;/P&gt;&lt;P&gt; data flux0;&lt;/P&gt;&lt;P&gt;set flux;&lt;/P&gt;&lt;P&gt;if mtna='T' then delete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I have this message???????????????&lt;/P&gt;&lt;P&gt;ERROR: LIKE operator requires character operands.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 17:58:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/delete-rows/m-p/166397#M43105</guid>
      <dc:creator>sasphd</dc:creator>
      <dc:date>2014-11-11T17:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/delete-rows/m-p/166398#M43106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope.&amp;nbsp; No way.&amp;nbsp; Didn't happen.&amp;nbsp; That message could not possible emerge from that DATA step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check for a missing semicolon on the statement before the DATA statement.&amp;nbsp; Make sure you have a blank before the word "then".&amp;nbsp; Otherwise, you will just have to post your log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 18:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/delete-rows/m-p/166398#M43106</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-11-11T18:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: delete rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/delete-rows/m-p/166399#M43107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to guess that you left off a colon (i.e., =: rather than =), but that your problem is that you are trying to delete records that contain .T, not the character value 'T'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data flux0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set flux;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if mtna =.T then delete;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 19:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/delete-rows/m-p/166399#M43107</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-11-11T19:17:01Z</dc:date>
    </item>
  </channel>
</rss>

